Module Name:    src
Committed By:   christos
Date:           Tue Feb  4 18:36:16 UTC 2020

Modified Files:
        src/lib/libc/sys: mkdir.2

Log Message:
Mention that we don't honor the other mode bits.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 src/lib/libc/sys/mkdir.2

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/sys/mkdir.2
diff -u src/lib/libc/sys/mkdir.2:1.30 src/lib/libc/sys/mkdir.2:1.31
--- src/lib/libc/sys/mkdir.2:1.30	Sun Sep  1 15:54:04 2019
+++ src/lib/libc/sys/mkdir.2	Tue Feb  4 13:36:16 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: mkdir.2,v 1.30 2019/09/01 19:54:04 sevan Exp $
+.\"	$NetBSD: mkdir.2,v 1.31 2020/02/04 18:36:16 christos Exp $
 .\"
 .\" Copyright (c) 1983, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"     @(#)mkdir.2	8.2 (Berkeley) 12/11/93
 .\"
-.Dd September 1, 2019
+.Dd February 4, 2020
 .Dt MKDIR 2
 .Os
 .Sh NAME
@@ -54,6 +54,16 @@ is created with the access permissions s
 and restricted by the
 .Xr umask 2
 of the calling process.
+On
+.Nx 
+all other mode bits 
+.Dv ( S_ISUID ,
+.Dv S_ISGID , 
+.Dv S_ISTXT )
+are ignored.
+This is implementation defined; for example on Linux
+.Dv S_ISTXT
+is honored.
 .Pp
 .Fn mkdirat
 works the same way as

Reply via email to