History log of /src/lib/libc/sys/mkdir.2 |
Revision | | Date | Author | Comments |
1.33 |
| 12-Sep-2025 |
jschauma | Note that mkdir(2) may fail with EMLINK if the creation would lead to too many hardlinks to the parent directory (i.e., too many subdirs).
|
1.32 |
| 05-Feb-2020 |
wiz | Remove trailing whitespace.
|
1.31 |
| 04-Feb-2020 |
christos | Mention that we don't honor the other mode bits.
|
1.30 |
| 01-Sep-2019 |
sevan | Document history https://www.bell-labs.com/usr/dmr/www/man21.pdf
|
1.29 |
| 15-Oct-2013 |
njoly | branches: 1.29.26; 1.29.28; Adjust needed includes for fchmodat/mkdirat/mkfifoat/mknodat/fstatat syscalls.
|
1.28 |
| 28-Jul-2013 |
njoly | Add mkdirat(2) specific errors.
|
1.27 |
| 13-Jan-2013 |
dholland | Revert defective O_SEARCH implementation committed by manu@ along with the *at system calls on November 18th of last year. Reasons to revert it include: - it is incorrect in a whole variety of ways (but fortunately, one of them is that the missing and improper permission checks have no net effect); - it was committed without review or discussion; - core ruled that all the new O_* flags pertaining to the *at calls needed to wait until their semantics could be clarified.
manu was asked to revert it on these grounds but has ignored the request.
I have left O_SEARCH defined and visible and made open() explicitly ignore it. This way, most code that tries to use it will continue to build and run. I've also arranged lib/libc/c063/t_o_search.c so that the tests that make use of the O_SEARCH semantics will disappear until O_SEARCH comes back, and fixed some mistakes and/or incorrect hacks that were causing some of these to succeed despite the broken O_SEARCH implementation.
|
1.26 |
| 01-Dec-2012 |
wiz | Bump date. New sentence, new line. Wording/articles. Sort errors while here.
|
1.25 |
| 18-Nov-2012 |
manu | Add most system calls for POSIX extended API set, part 2, with test cases: faccessat(2), fchmodat(2), fchownat(2), fstatat(2), mkdirat(2), mkfifoat(2), mknodat(2), linkat(2), readlinkat(2), symlinkat(2), renameat(2), unlinkat(2), utimensat(2), openat(2).
Also implement O_SEARCH for openat(2)
Still missing: - some flags for openat(2) - fexecve(2) implementation
|
1.24 |
| 31-May-2010 |
njoly | branches: 1.24.6; 1.24.12; Consistently use `.Brq Dv XXX' across syscalls man pages, for NAME_MAX and PATH_MAX.
|
1.23 |
| 27-Dec-2005 |
chs | change errors returned for various operations on "/" to conform to SUSv3. as discussed on tech-kern some time back.
|
1.22 |
| 17-Sep-2005 |
christos | Document that mkdir("/", x) returns EISDIR. According to POSIX this is not an allowed error, but we return EIO and EDQUOT also which are not in POSIX either.
|
1.21 |
| 13-May-2004 |
wiz | \- is a minus, not -.
|
1.20 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22280, verified by myself.
|
1.19 |
| 16-Apr-2003 |
wiz | Use .In header.h instead of .Fd #include \*[Lt]header.h\*[Gt] Much easier to read and write, and supported by groff for ages. Okayed by ross.
|
1.18 |
| 18-Jan-2003 |
thorpej | Merge the nathanw_sa branch.
|
1.17 |
| 01-Oct-2002 |
wiz | New sentence, new line. From Robert Elz.
|
1.16 |
| 29-Apr-2002 |
simonb | Remove <sys/types.h> from synopsis, as per latest SUS/Posix specs.
|
1.15 |
| 08-Feb-2002 |
ross | Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
|
1.14 |
| 16-Sep-2001 |
wiz | Boring whitespace fixes.
|
1.13 |
| 02-Dec-1999 |
kleink | branches: 1.13.6; Add a LIBRARY section to system call manual pages. While it's clear that the libraries contain stubs only (with minor exceptions a la pipe(2)), the purpose of this section is to provide linkage information.
|
1.12 |
| 22-Mar-1999 |
garbled | branches: 1.12.6; Last of the .Os cleanups. .Os is defined in the tmac.doc-common file, so we shouldn't override it with versions in the manpages. Wheee!
|
1.11 |
| 29-Aug-1998 |
lukem | first pass at fixing up capitalization of function names and arguments; ensure that each is correct with respect to the implementation, rather than being correct as per english.
|
1.10 |
| 14-Jul-1997 |
kleink | Add missing `STANDARDS' compliance statements. As we #define _POSIX_VERSION to 199009L, bump existing statements to 1003.1-1990.
|
1.9 |
| 12-Nov-1996 |
lukem | fix the the typos
|
1.8 |
| 27-Feb-1995 |
cgd | merge with lite, keeping most local changes. clean up Ids
|
1.7 |
| 22-Apr-1994 |
jtc | Remove description of EINVAL, "The pathname contains a character with the high-order bit set", as this error is obsolete.
Eventually we may want to add code to some of the "optional" filesystems (msdosfs, etc.) that checks for illegal characters. At that time it would be appropriate to reintroduce this error with appropriate text. Perhaps "The pathname contains a character that is not valid for filesystem type".
|
1.6 |
| 19-Apr-1994 |
jtc | Use symbolic names {NAME_MAX} & {PATH_MAX} instead of 255 and 1023 in description of ENAMETOOLONG error.
|
1.5 |
| 15-Dec-1993 |
jtc | Must #include <sys/types.h> to use these functions.
|
1.4 |
| 29-Nov-1993 |
jtc | Use "Er" for argument to -width in the lists in the ERROR sections --- so the formatting is consistant.
|
1.3 |
| 25-Nov-1993 |
jtc | Clean up manpages: Use .Fn rather than .Nm macro in HISTORY and STANDARDS sections. Use .At and .St macros instead of spelling out "Version 6 UNIX", "IEEE 1003.1-1988 (POSIX)", etc.
|
1.2 |
| 01-Aug-1993 |
mycroft | Add RCS indentifiers.
|
1.1 |
| 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
1.1.1.2 |
| 27-Feb-1995 |
cgd | from Lite
|
1.1.1.1 |
| 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
1.12.6.1 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.13.6.5 |
| 18-Oct-2002 |
nathanw | Catch up to -current.
|
1.13.6.4 |
| 21-Jun-2002 |
nathanw | Catch up to -current.
|
1.13.6.3 |
| 22-Mar-2002 |
nathanw | Catch up to -current.
|
1.13.6.2 |
| 08-Mar-2002 |
nathanw | Catch up to -current.
|
1.13.6.1 |
| 08-Oct-2001 |
nathanw | Catch up to -current.
|
1.24.12.3 |
| 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.24.12.2 |
| 25-Feb-2013 |
tls | resync with head
|
1.24.12.1 |
| 20-Nov-2012 |
tls | Resync to 2012-11-19 00:00:00 UTC
|
1.24.6.3 |
| 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.24.6.2 |
| 23-Jan-2013 |
yamt | sync with head
|
1.24.6.1 |
| 16-Jan-2013 |
yamt | sync with (a bit old) head
|
1.29.28.1 |
| 05-Sep-2019 |
martin | Pull up following revision(s) (requested by sevan in ticket #174): lib/libc/sys/chmod.2: revision 1.48 lib/libc/sys/stat.2: revision 1.59 lib/libc/sys/unlink.2: revision 1.30 lib/libc/sys/lseek.2: revision 1.25 lib/libc/sys/getuid.2: revision 1.18 lib/libc/sys/chown.2: revision 1.37 lib/libm/man/exp.3: revision 1.32 lib/libm/man/log.3: revision 1.7 lib/libc/sys/open.2: revision 1.60 lib/libc/stdio/fopen.3: revision 1.36 lib/libc/stdio/putc.3: revision 1.14 lib/libc/sys/mount.2: revision 1.51 share/man/man9/copy.9: revision 1.22 share/man/man9/uiomove.9: revision 1.20 lib/libc/sys/setuid.2: revision 1.23 lib/libc/sys/close.2: revision 1.18 sbin/init/init.8: revision 1.61 lib/libc/sys/write.2: revision 1.36 lib/libc/sys/read.2: revision 1.39 sbin/init/init.8: revision 1.62 lib/libc/sys/wait.2: revision 1.40 usr.bin/tty/tty.1: revision 1.10 lib/libc/sys/link.2: revision 1.33 usr.bin/du/du.1: revision 1.24 lib/libc/stdlib/exit.3: revision 1.17 usr.bin/su/su.1: revision 1.53 usr.bin/mail/mail.1: revision 1.66 lib/libc/sys/fork.2: revision 1.25 usr.bin/su/su.1: revision 1.54 usr.bin/mail/mail.1: revision 1.67 lib/libm/man/sin.3: revision 1.15 share/man/man9/intro.9: revision 1.26 share/man/man5/utmp.5: revision 1.17 lib/libc/compat-43/creat.3: revision 1.17 lib/libc/time/ctime.3: revision 1.61 lib/libcompat/4.1/stty.3: revision 1.10 usr.bin/dc/dc.1: revision 1.3 lib/libm/man/cos.3: revision 1.17 lib/libc/sys/chdir.2: revision 1.23 lib/libc/gen/exec.3: revision 1.30 lib/libc/gen/exec.3: revision 1.31 games/bcd/bcd.6: revision 1.18 games/bcd/bcd.6: revision 1.19 usr.bin/write/write.1: revision 1.7 usr.bin/wc/wc.1: revision 1.18 usr.bin/pr/pr.1: revision 1.24 usr.bin/who/who.1: revision 1.25 lib/libc/sys/mkdir.2: revision 1.30 lib/libc/stdio/getc.3: revision 1.13 usr.bin/sort/sort.1: revision 1.40 usr.bin/mesg/mesg.1: revision 1.11 share/man/man5/passwd.5: revision 1.34 sort was there since v1 https://www.bell-labs.com/usr/dmr/www/man61.pdf
dc was in v1 https://www.bell-labs.com/usr/dmr/www/man12.pdf
du was in v1 https://www.bell-labs.com/usr/dmr/www/man12.pdf
mail was in v1 https://www.bell-labs.com/usr/dmr/www/man12.pdf
mesg was in v1 https://www.bell-labs.com/usr/dmr/www/man12.pdf
Document history https://www.bell-labs.com/usr/dmr/www/man13.pdf
su was in v1 https://www.bell-labs.com/usr/dmr/www/man13.pdf
Document history https://www.bell-labs.com/usr/dmr/www/man13.pdf
Document history https://www.bell-labs.com/usr/dmr/www/man14.pdf Update URL
write was in v1 https://www.bell-labs.com/usr/dmr/www/man14.pdf grammar
passwd(5) was in v1 https://www.bell-labs.com/usr/dmr/www/man51.pdf
utmp(5) was present in v1 https://www.bell-labs.com/usr/dmr/www/man51.pdf
Earliest version of wtmp I could find was in v3 https://minnie.tuhs.org/cgi-bin/utree.pl?file=V3/man/man5/wtmp.5
Document history of chdir(2) https://www.bell-labs.com/usr/dmr/www/man21.pdf
Document history of chmod(2) https://www.bell-labs.com/usr/dmr/www/man21.pdf
Document history of chown(2) https://www.bell-labs.com/usr/dmr/www/man21.pdf
Document history https://www.bell-labs.com/usr/dmr/www/man21.pdf
create was present in v1 https://www.bell-labs.com/usr/dmr/www/man21.pdf
Document history of exec() Move statement on execlpe() & execvpe() to HISTORY section.
Document history https://www.bell-labs.com/usr/dmr/www/man21.pdf
fork was present in v1 https://www.bell-labs.com/usr/dmr/www/man21.pdf stat() was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf
document history of fstat() https://www.bell-labs.com/usr/dmr/www/man21.pdf
getuid was present in v1 https://www.bell-labs.com/usr/dmr/www/man21.pdf
Document history https://www.bell-labs.com/usr/dmr/www/man21.pdf
Document history https://www.bell-labs.com/usr/dmr/www/man21.pdf
stty & gtty were around since v1 https://www.bell-labs.com/usr/dmr/www/man21.pdf https://www.bell-labs.com/usr/dmr/www/man22.pdf
mount & umount were present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf
Open was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf
read was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf
seek was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf
setuid was in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf
unlink was presen in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf
wait was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf
write was present in v1 https://www.bell-labs.com/usr/dmr/www/man22.pdf
start documenting history exp was present in v1 https://www.bell-labs.com/usr/dmr/www/man31.pdf
Start documenting history https://www.bell-labs.com/usr/dmr/www/man31.pdf
Start documenting history https://www.bell-labs.com/usr/dmr/www/man31.pdf
log appeared in v1 https://www.bell-labs.com/usr/dmr/www/man31.pdf
putc & putw were in v1 https://www.bell-labs.com/usr/dmr/www/man31.pdf
putchar was in v4 https://minie.tuhs.org/cgi-bin/utree.pl?file=V4/man/man3/putchr.3
Start documenting history https://www.bell-labs.com/usr/dmr/www/man31.pdf
Document history. https://www.bell-labs.com/usr/dmr/www/man11.pdf Between v1 & v6 UNIX, bcd was rewritten in C, but I don't know if which version, hence I've skipped mentioning it. End sentence with a dot. Remove superfluous Pp. Remove superfluous Pp. Remove superfluous Ns. Remove superfluous Pp. fetch(9) -> ufetch(9) fetch(9) -> ufetch(9). Remove superfluous Pp. fetch(9) -> ufetch(9). Remove reference to unimplemented ppi(9).
|
1.29.26.1 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|