summaryrefslogtreecommitdiffstats
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* Be more specific when ELOOP can be returned.pjd2006-12-121-1/+3
|
* symlink(2) return EACCES if a component of the name2 path prefix deniespjd2006-12-121-0/+4
| | | | write permission.
* Correct ENOENT description.pjd2006-12-121-2/+4
|
* The 'name1' argument to symlink(2) is only limited to 1023 characters,pjd2006-12-121-1/+3
| | | | its components are not checked.
* mkdir(2) creates directory, not file.pjd2006-12-121-1/+2
|
* Remove reference to confusing behaviour just removed fromjulian2006-12-121-6/+3
| | | | the kse_exit() syscall. Describe the correct behaviour.
* When directory is given as an argument for unlink(2), EPERM is returnedpjd2006-12-101-4/+1
| | | | not matter if this is regular directory or a mount point.
* If the named file has its immutable or append-only flag set, utimes(2)pjd2006-12-091-1/+6
| | | | returns EPERM.
* If the parent directory of the named file has its immutable flag set,pjd2006-12-091-1/+6
| | | | mkfifo(2) returns EPERM.
* If the parent directory of the destination file has its immutable flag set,pjd2006-12-091-1/+8
| | | | symlink(2) returns EPERM.
* - If the source file has its immutable or append-only flag set, link(2)pjd2006-12-091-4/+13
| | | | | | returns EPERM. - If the parent directory of the destination file has its immutable flag set, link(2) returns EPERM.
* If the named file has its immutable or append-only flag set, truncate(2)pjd2006-12-091-1/+6
| | | | | | | and ftruncate(2) return EPERM. Note, that if the append-only flag is set even increasing size of the file is not permitted.
* If the named file has its immutable flag set, chown(2) returns EPERM.pjd2006-12-091-1/+6
|
* If the named file has its immutable flag set, chmod(2) returns EPERM.pjd2006-12-091-1/+6
|
* Add reference to chflags(2).pjd2006-12-091-0/+1
|
* If the parent directory of the named file has its immutable flag set,pjd2006-12-091-1/+5
| | | | mkdir(2) returns EPERM.
* - If the directory to be removed has its immutable, undeletable or append-onlypjd2006-12-091-1/+9
| | | | | | flag set, rmdir(2) returns EPERM. - If the parent directory of the directory to be removed has its immutable or append-only flag set, rmdir(2) returns EPERM.
* - If the parent directory of the file pointed at by the from argument has itspjd2006-12-091-0/+8
| | | | | | immutable or append-only flag set, rename(2) returns EPERM. - If the parent directory of the file pointed at by the to argument has its immutable flag set, rename(2) returns EPERM.
* Correct last commit. The parent directory of the file to be removed canpjd2006-12-091-3/+5
| | | | have undeletable flag set.
* When immutable, undeletable or append-only flag is set, rename(2)pjd2006-12-091-1/+8
| | | | return EPERM.
* When undeletable flag is set, unlink(2) return EPERM.pjd2006-12-091-1/+1
|
* Grammar.ru2006-12-041-1/+1
| | | | OK'ed by: sam
* document recent change to return ECONNRESET for tcp socketssam2006-12-041-1/+4
| | | | MFC after: 1 month
* Use _kevent() instead of kevent().ume2006-12-041-7/+7
| | | | Requested by: nork
* Minor clarification.dds2006-12-031-1/+1
|
* o As POSIX requires confstr(3) returns zero on errors, not -1.maxim2006-12-031-2/+2
| | | | | | PR: misc/106234 Submitted by: Guy Harris MFC after: 1 week
* Note that, thanks to the work by Alan Cox et al, some arch'esyar2006-11-241-2/+19
| | | | | | | | | don't need sendfile() buffers any more. The report on the work referenced can be found at http://usenix.org/events/usenix05/tech/general/elmeleegy.html MFC after: 1 week
* Document that the data field for NOTE_EXIT holds the process exit status.jhb2006-11-201-0/+2
| | | | | Submitted by: Jared Yanovich -phirerunner at comcast.net- MFC after: 2 weeks
* Add an entry for PT_GETLWPLIST.trhodes2006-11-091-1/+3
| | | | | Nudged by: jhb Reviewed by: davidxu
* Cleanup: we always have to use __error() now, and we shouldn't provide acognet2006-11-092-58/+1
| | | | | | errno symbol, so completely remove the !_REENTRANT case. Spotted out by: ru
* Remove a forgotten file.ru2006-11-081-4/+0
|
* Instead of re-implementing hton[ls] and friends for each arch, add a new MIcognet2006-11-0632-1223/+34
| | | | | | | file, net/ntoh.c, which just implement them using the inline functions from <sys/endian.h>. Suggested by: bde
* Provide definitions suitable for arm big-endian.cognet2006-11-061-0/+5
|
* Remove sys/uio.h include -- this is no longer required by the extattrrwatson2006-11-061-1/+0
| | | | | | system call API. MFC after: 3 weeks
* Document return values for res_query and res_search.lawrance2006-11-042-3/+17
| | | | | | | | | h_errno is not an extern int, just a macro providing an integer lvalue. PR: doc/50573 Submitted by: Ronald F.Guilmette <rfg@monkeys.com> Reviewed by: trhodes MFC after: 3 days
* - clock_gettime is in time.h instead of sys/time.hdanger2006-11-041-3/+3
| | | | | | Approved by: trhodes (mentor), keramida (mentor) PR: docs/104707 MFC-after: 3 days
* - change ABI for user trap handler for sun4v (eventually will sync sparc64 nokmacy2006-11-032-0/+7
| | | | | | hardware set up to test at the moment) Approved by: scottl (standing in for mentor rwatson)
* Replace the SEE ALSO xrefs with a more reasonable set stolen from POSIX.ru2006-11-021-2/+7
|
* Document MNT_GJOURNAL option.pjd2006-11-011-1/+4
|
* Backed out rev.1.10 (a special case for amd64). The amd64 mcount codebde2006-10-281-6/+0
| | | | never needed any frame pointers for itself.
* Add missing markup bits.ru2006-10-281-1/+3
| | | | Submitted by: Emil Mikulic
* Merge res_send.c of BIND9 9.3.3rc2 into main chunk. It includesume2006-10-241-6/+7
| | | | | | | | | | following fix: Retransmission timeouts should be based on which attempt it is to the nameserver and not the nameserver itself. Obtained from: ISC MFC after: 3 days
* Revert the rev. 1.4, it causes breakage on most arches except i386.kib2006-10-231-4/+1
| | | | | | | | | Remove the const qualifier from ap argument for __v2printf, that induced that breakage, and seems to be the real reason for bad code. ap is modified inside the __v2printf body by va_arg macro. Pointy hat to: kib Approved by: pjd (mentor)
* Minor markup fix: A comma should be seperated by space from macrosimon2006-10-211-1/+1
| | | | | | | argument. This resulted in "pwritev,()" instead of the intended "pwritev()," in the output. MFC after: 3 days
* Avoid a potential hard sentence break.ru2006-10-211-1/+1
|
* Workaround for (what seems to be) compiler error for gcc 3.4.6. Onkib2006-10-211-1/+4
| | | | | | | | | | | | | i386 with default optimization level (-O2), va_list pointer ap in the __v2printf function is advanced before the use. That cause argument shift and garbage instead last argument in printf-family when xprintf is activated. The nsswitch is easy victim of the bug. Reviewed by: kan Approved by: kan (mentor) MFC after: 1 week
* file == NULL:ache2006-10-161-9/+14
| | | | | | | | | | | | | Issue __sflush() before possible setting O_APPEND mode or ftruncate(), write to wrong place may occurse oserwise. Use simplified _sseek() to the start, if no O_APPEND is set, instead of _fseeko() (_sseek() to the end, if O_APPEND, occurse later, as for file != NULL). Don't check seek error return, as original fopen() and freopen() never does. file != NULL: Add missing _sseek() to the end.
* Honor errno obtained from __sflagsache2006-10-161-1/+3
| | | | Move errno restoring after FUNLOCKFILE in one case
* Back out ftruncate error handling. There can some file tipesache2006-10-161-9/+2
| | | | f.e. sockets when ftruncate normally fail.
* Do real seekache2006-10-151-3/+11
| | | | | | | Catch ftruncate errors PR: 104295 Submitted by: ru (seek)
OpenPOWER on IntegriCloud