copy_time_ns(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, this is the copy_time_ns(9) Kernel API Manual page, and the whole vibe is: Create timens_for_children from @old_ns. ✨

🌸 SYNOPSIS 🌸

struct time_namespace * copy_time_ns (u64 flags , struct user_namespace
*user_ns , struct time_namespace *old_ns );

πŸŽ€ ARGUMENTS πŸŽ€

  • flags β€” the cloning flags, no cap πŸ‘‘
  • user_ns β€” the user namespace which owns a new namespace πŸ¦‹
  • old_ns β€” the namespace to clone, bb πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

So here’s the tea: if CLONE_NEWTIME is specified in flags, it creates a new timens_for_children; otherwise it adds a refcounter to old_ns. That’s the whole plot. ✨

πŸ”₯ RETURN πŸ”₯

It returns the timens_for_children namespace or ERR_PTR. periodt. πŸ’…

🫢 SEE ALSO 🫢


made with πŸ’– from the ./kernel/time source/version, dated October 2026, for the copy_time_ns(9) page. byeee bestie πŸŽ€πŸŒˆ

πŸ“¦ where this page comes from