summaryrefslogtreecommitdiff
path: root/lib/libc/sys/access.2
AgeCommit message (Collapse)Author
2017-01-10Add missing word.abhinav
2013-01-13Revert defective O_SEARCH implementation committed by manu@ along withdholland
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.
2013-01-12One more bit: explicitly state what calls to faccessat() are equivalentdholland
to access().
2013-01-12Rewrite heavily. This was originally going to be just an improvement ofdholland
some wording related to the *at form... but it needed a general overhaul. Add some missing errors for the *at form... plus EINVAL for the traditional form for when you pass a bogus check mode. Note that the AT_EACCESS flag is useless and strengthen the security warning.
2012-12-01New sentence, new line. Add articles.wiz
2012-12-01Remove trailing whitespace.wiz
2012-11-18Add most system calls for POSIX extended API set, part 2, with test cases:manu
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
2010-05-03Note secure_path(3) in SEE ALSO.jruoho
2010-04-30Remove the note about eaccess(); no such thing in NetBSD.jruoho
2010-04-30Sort errors.wiz
2010-04-30Use a SECURITY CONSIDERATIONS instead of the BUGS section, and steal thisjruoho
section from FreeBSD (with minor modifications).
2006-02-02Replace a period, which is left unchanged when sentense is added inenami
rev. 1.7, to comma.
2004-05-13\- is a minus, not -.wiz
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
Patches provided by Joel Baker in PR 22280, verified by myself.
2003-04-16Usewiz
.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.
2003-01-18Merge the nathanw_sa branch.thorpej
2002-10-01New sentence, new line. From Robert Elz.wiz
2002-02-08Generate <>& symbolically. I'm avoiding .../dist/... directories for now.ross
2001-09-16Sort sections, sort SEE ALSO, punctuation and miscellanous fixes.wiz
2001-09-16Boring whitespace fixes.wiz
2000-06-09fix typolukem
1999-12-02Add a LIBRARY section to system call manual pages. While it's clear that thekleink
libraries contain stubs only (with minor exceptions a la pipe(2)), the purpose of this section is to provide linkage information.
1999-03-22Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,garbled
so we shouldn't override it with versions in the manpages. Wheee!
1998-08-29first pass at fixing up capitalization of function names andlukem
arguments; ensure that each is correct with respect to the implementation, rather than being correct as per english.
1997-07-14Add missing `STANDARDS' compliance statements. As we #define _POSIX_VERSIONkleink
to 199009L, bump existing statements to 1003.1-1990.
1997-04-23Rework text explaining false positives.mycroft
1995-02-27merge with lite, keeping most local changes. clean up Idscgd
1994-04-22Remove description of EINVAL, "The pathname contains a character with thejtc
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".
1994-04-19Use symbolic names {NAME_MAX} & {PATH_MAX} instead of 255 and 1023 injtc
description of ENAMETOOLONG error.
1994-04-01delete duplicated info, from Mark Weavercgd
1993-11-25Clean up manpages:jtc
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.
1993-08-01Add RCS indentifiers.mycroft
1993-03-21initial import of 386bsd-0.1 sourcescgd