summaryrefslogtreecommitdiff
path: root/lib/libc
Commit message (Collapse)AuthorAgeFilesLines
* add a missing the...John-Mark Gurney2006-12-191-1/+1
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=165357
* Consistently use a socklen_t type where required, and eliminateCraig Rodrigues2006-12-161-6/+6
| | | | | | | | | | GCC warning "dereferencing type-punned pointer will break strict-aliasing rules". Reviewed by: rrs Notes: svn path=/head/; revision=165270
* Merge BIND9 9.3.3 into main chunk.Hajimu UMEMOTO2006-12-155-20/+17
| | | | | | | | Obtained from: ISC MFC after: 1 week Notes: svn path=/head/; revision=165258
* This commit was generated by cvs2svn to compensate for changes in r165254,Hajimu UMEMOTO2006-12-151-5/+5
|\ | | | | | | | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=165255
| * Vendor import of BIND 9.3.3Hajimu UMEMOTO2006-12-156-25/+22
| | | | | | | | Notes: svn path=/vendor/resolver/dist/; revision=165254
| * Import of BIND 9.3.3rc2Hajimu UMEMOTO2006-10-241-7/+7
| | | | | | | | Notes: svn path=/vendor/resolver/dist/; revision=163659
* | chflags(2) returns EPERM when user tries to set or remove the SF_SNAPSHOT flag.Pawel Jakub Dawidek2006-12-151-0/+4
| | | | | | | | Notes: svn path=/head/; revision=165252
* | This adds the "system calls"Randall Stewart2006-12-152-1/+830
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sctp_getaddrlen() sctp_connectx() sctp_bindx() sctp_opt_info() sctp_getpaddrs() sctp_freepaddrs() sctp_getladdrs() sctp_freeladdrs() sctp_sendmsg() sctp_getassocid() sctp_send() sctp_sendx() sctp_sendmsgx() sctp_recvmsg() sctp_peeloff() Manual pages will be forthcoming (and the commit to porters-handbook) Notes: svn path=/head/; revision=165242
* | band-aide until _SC_PHYS_PAGES actually is definedWarner Losh2006-12-141-0/+2
| | | | | | | | Notes: svn path=/head/; revision=165232
* | Add support for _SC_PHYS_PAGES, which is not standard, but can be found inPawel Jakub Dawidek2006-12-142-1/+27
| | | | | | | | | | | | | | Solaris and Linux. Notes: svn path=/head/; revision=165212
* | Document _SC_PAGESIZE. There are still 85 undocumented variables.Pawel Jakub Dawidek2006-12-141-1/+3
| | | | | | | | | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=165211
* | - truncate(2) returns EFBIG if the length argument was greater than thePawel Jakub Dawidek2006-12-131-1/+9
| | | | | | | | | | | | | | | | maximum file size. - truncate(2) returns EINVAL if the length argument was less than 0. Notes: svn path=/head/; revision=165192
* | Append-only flag also denies chown(2).Pawel Jakub Dawidek2006-12-131-1/+1
| | | | | | | | Notes: svn path=/head/; revision=165190
* | Much more correct EFTYPE description.Pawel Jakub Dawidek2006-12-131-1/+3
| | | | | | | | Notes: svn path=/head/; revision=165177
* | Better wording.Pawel Jakub Dawidek2006-12-132-2/+2
| | | | | | | | Notes: svn path=/head/; revision=165176
* | Append-only flag also denies chmod(2). Is this correct behaviour?Pawel Jakub Dawidek2006-12-131-1/+1
| | | | | | | | Notes: svn path=/head/; revision=165175
* | Be more precise with EPERM description. When chown(2) is a no-op, it willPawel Jakub Dawidek2006-12-131-1/+2
| | | | | | | | | | | | | | return 0. Notes: svn path=/head/; revision=165167
* | Write permission if of course only needed for the parent directory ofPawel Jakub Dawidek2006-12-132-8/+4
| | | | | | | | | | | | | | | | | | the object beeing created. Pointed out by: bde Notes: svn path=/head/; revision=165166
* | mkfifo(2) returns EACCES when write permission is denied for a component ofPawel Jakub Dawidek2006-12-131-0/+2
| | | | | | | | | | | | | | the path prefix. Notes: svn path=/head/; revision=165164
* | Be more specific when ELOOP can be returned.Pawel Jakub Dawidek2006-12-121-1/+3
| | | | | | | | Notes: svn path=/head/; revision=165136
* | symlink(2) return EACCES if a component of the name2 path prefix deniesPawel Jakub Dawidek2006-12-121-0/+4
| | | | | | | | | | | | | | write permission. Notes: svn path=/head/; revision=165135
* | Correct ENOENT description.Pawel Jakub Dawidek2006-12-121-2/+4
| | | | | | | | Notes: svn path=/head/; revision=165134
* | The 'name1' argument to symlink(2) is only limited to 1023 characters,Pawel Jakub Dawidek2006-12-121-1/+3
| | | | | | | | | | | | | | its components are not checked. Notes: svn path=/head/; revision=165133
* | mkdir(2) creates directory, not file.Pawel Jakub Dawidek2006-12-121-1/+2
| | | | | | | | Notes: svn path=/head/; revision=165120
* | Remove reference to confusing behaviour just removed fromJulian Elischer2006-12-121-6/+3
| | | | | | | | | | | | | | the kse_exit() syscall. Describe the correct behaviour. Notes: svn path=/head/; revision=165117
* | When directory is given as an argument for unlink(2), EPERM is returnedPawel Jakub Dawidek2006-12-101-4/+1
| | | | | | | | | | | | | | not matter if this is regular directory or a mount point. Notes: svn path=/head/; revision=165080
* | If the named file has its immutable or append-only flag set, utimes(2)Pawel Jakub Dawidek2006-12-091-1/+6
| | | | | | | | | | | | | | returns EPERM. Notes: svn path=/head/; revision=165056
* | If the parent directory of the named file has its immutable flag set,Pawel Jakub Dawidek2006-12-091-1/+6
| | | | | | | | | | | | | | mkfifo(2) returns EPERM. Notes: svn path=/head/; revision=165054
* | If the parent directory of the destination file has its immutable flag set,Pawel Jakub Dawidek2006-12-091-1/+8
| | | | | | | | | | | | | | symlink(2) returns EPERM. Notes: svn path=/head/; revision=165053
* | - If the source file has its immutable or append-only flag set, link(2)Pawel Jakub Dawidek2006-12-091-4/+13
| | | | | | | | | | | | | | | | | | returns EPERM. - If the parent directory of the destination file has its immutable flag set, link(2) returns EPERM. Notes: svn path=/head/; revision=165052
* | If the named file has its immutable or append-only flag set, truncate(2)Pawel Jakub Dawidek2006-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. Notes: svn path=/head/; revision=165051
* | If the named file has its immutable flag set, chown(2) returns EPERM.Pawel Jakub Dawidek2006-12-091-1/+6
| | | | | | | | Notes: svn path=/head/; revision=165050
* | If the named file has its immutable flag set, chmod(2) returns EPERM.Pawel Jakub Dawidek2006-12-091-1/+6
| | | | | | | | Notes: svn path=/head/; revision=165049
* | Add reference to chflags(2).Pawel Jakub Dawidek2006-12-091-0/+1
| | | | | | | | Notes: svn path=/head/; revision=165048
* | If the parent directory of the named file has its immutable flag set,Pawel Jakub Dawidek2006-12-091-1/+5
| | | | | | | | | | | | | | mkdir(2) returns EPERM. Notes: svn path=/head/; revision=165047
* | - If the directory to be removed has its immutable, undeletable or append-onlyPawel Jakub Dawidek2006-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. Notes: svn path=/head/; revision=165044
* | - If the parent directory of the file pointed at by the from argument has itsPawel Jakub Dawidek2006-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. Notes: svn path=/head/; revision=165043
* | Correct last commit. The parent directory of the file to be removed canPawel Jakub Dawidek2006-12-091-3/+5
| | | | | | | | | | | | | | have undeletable flag set. Notes: svn path=/head/; revision=165042
* | When immutable, undeletable or append-only flag is set, rename(2)Pawel Jakub Dawidek2006-12-091-1/+8
| | | | | | | | | | | | | | return EPERM. Notes: svn path=/head/; revision=165041
* | When undeletable flag is set, unlink(2) return EPERM.Pawel Jakub Dawidek2006-12-091-1/+1
| | | | | | | | Notes: svn path=/head/; revision=165040
* | Grammar.Ruslan Ermilov2006-12-041-1/+1
| | | | | | | | | | | | | | OK'ed by: sam Notes: svn path=/head/; revision=164887
* | document recent change to return ECONNRESET for tcp socketsSam Leffler2006-12-041-1/+4
| | | | | | | | | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=164883
* | Use _kevent() instead of kevent().Hajimu UMEMOTO2006-12-041-7/+7
| | | | | | | | | | | | | | Requested by: nork Notes: svn path=/head/; revision=164882
* | Minor clarification.Diomidis Spinellis2006-12-031-1/+1
| | | | | | | | Notes: svn path=/head/; revision=164857
* | o As POSIX requires confstr(3) returns zero on errors, not -1.Maxim Konovalov2006-12-031-2/+2
| | | | | | | | | | | | | | | | | | PR: misc/106234 Submitted by: Guy Harris MFC after: 1 week Notes: svn path=/head/; revision=164847
* | Note that, thanks to the work by Alan Cox et al, some arch'esYaroslav Tykhiy2006-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 Notes: svn path=/head/; revision=164584
* | Document that the data field for NOTE_EXIT holds the process exit status.John Baldwin2006-11-201-0/+2
| | | | | | | | | | | | | | | | Submitted by: Jared Yanovich -phirerunner at comcast.net- MFC after: 2 weeks Notes: svn path=/head/; revision=164452
* | Add an entry for PT_GETLWPLIST.Tom Rhodes2006-11-091-1/+3
| | | | | | | | | | | | | | | | Nudged by: jhb Reviewed by: davidxu Notes: svn path=/head/; revision=164121
* | Cleanup: we always have to use __error() now, and we shouldn't provide aOlivier Houchard2006-11-092-58/+1
| | | | | | | | | | | | | | | | | | errno symbol, so completely remove the !_REENTRANT case. Spotted out by: ru Notes: svn path=/head/; revision=164109
* | Remove a forgotten file.Ruslan Ermilov2006-11-081-4/+0
| | | | | | | | Notes: svn path=/head/; revision=164103