X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/813fb2f63a553c957e917ede5f119b021d6ce391..0a7de7458d150b5d4dffc935ba399be265ef0a1a:/bsd/man/man2/clonefile.2?ds=sidebyside diff --git a/bsd/man/man2/clonefile.2 b/bsd/man/man2/clonefile.2 index c9fd137e6..114321e0d 100644 --- a/bsd/man/man2/clonefile.2 +++ b/bsd/man/man2/clonefile.2 @@ -61,7 +61,9 @@ or .Xr mkdirat 2 or .Xr symlinkat 2 -if the current user does not have privileges to change ownership. +if the current user does not have privileges to change ownership. If the optional +flag CLONE_NOOWNERCOPY is passed, the ownership information is the same as if the +the current user does not have privileges to change ownership . .It @@ -133,6 +135,17 @@ names a symbolic link. . .El .Pp +.Bl -tag -width CLONE_NOOWNERCOPY +. +.It CLONE_NOOWNERCOPY +Don't copy ownership information from the source when run called with superuser privileges. +The symbolic link is itself cloned if +.Fa src +names a symbolic link. +. +.El +.Pp +The The .Fn clonefile , .Fn clonefileat