copy_time_ns(9)
β¨ 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 π«Ά
- Kernel file
./kernel/time/namespace.c clone_time_ns(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms