Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Bump modification date for last update. | simon | 2006-12-28 | 1 | -1/+1 |
| | |||||
* | Catch up struct cmsghdr and struct msghdr in the manual page with the | simon | 2006-12-28 | 1 | -11/+11 |
| | | | | | | actual structures in socket.h (which were updated 7 years ago). MFC after: 1 week | ||||
* | Correct spelling of "accommodate", "guarantee", "guaranteed", "guard", | cperciva | 2006-12-28 | 8 | -11/+11 |
| | | | | | | "return", "ridiculous", and "success". MFC after: 3 days | ||||
* | Document the additional error returns possible when handling ELF objects | jkoshy | 2006-12-25 | 5 | -5/+25 |
| | | | | that require extended numbering. | ||||
* | Keep shadow copies of the `e_shnum', `e_phnum' and `e_shstrndx' | jkoshy | 2006-12-25 | 13 | -219/+432 |
| | | | | | | | | | | | | | | | members of the ELF Executable Header inside the library-private `struct _Elf' descriptor and only update the underlying Elf{32,64}_Ehdr structure on an elf_update(3) call. These fields of the Ehdr structure are technically `out of bounds' for an application program per the ELF(3) API, but we've seen applications that initialize a new Ehdr structure using memcpy(), messing up the library's invariants. [1] Implement elf_getphnum() and handle ELF objects with more than 64K program header table entries. Reported by: jb [1] | ||||
* | Use strncpy() instead of strlcpy() when copying members of | jkoshy | 2006-12-25 | 1 | -8/+11 |
| | | | | | a `struct ar_hdr'. These members do not use NUL-termination while strlcpy() expects its source buffer to be NUL-terminated. | ||||
* | Fix a typo in __fpu_ftox() that caused long double to long (and long long) | marius | 2006-12-24 | 1 | -9/+10 |
| | | | | | | | | | conversion of negative numbers to always result in -1. While at it, rearrange the nearby comment so it fits in 80 chars per line, like the rest of this file does. PR: 107130 MFC after: 1 day | ||||
* | Correct a logic error. | jkoshy | 2006-12-24 | 1 | -8/+15 |
| | |||||
* | Implement chunk allocation/deallocation hysteresis by caching one spare | jasone | 2006-12-23 | 1 | -51/+86 |
| | | | | | | | | chunk per arena, rather than immediately deallocating all unused chunks. This fixes a potential performance issue when allocating/deallocating an object of size (4kB..1MB] in a loop. Reported by: davidxu | ||||
* | get LIBPTHREAD_ADAPTIVE_SPIN early, so it can be used for some global | davidxu | 2006-12-20 | 1 | -2/+5 |
| | | | | mutexes. | ||||
* | Check environment variable PTHREAD_ADAPTIVE_SPIN, if it is set, use | davidxu | 2006-12-20 | 5 | -1/+8 |
| | | | | it as a default spin cycle count. | ||||
* | add a missing the... | jmg | 2006-12-19 | 1 | -1/+1 |
| | | | | MFC after: 3 days | ||||
* | Clean bound and non-bound pthread structures consistently before | peadar | 2006-12-18 | 2 | -8/+10 |
| | | | | | | | | | | | | they become candidates for reuse. Without this fix, some of the state from a thread structure's previous incarnation could interfere with its new one. Specifically, a non-bound thread started as "suspended" (see pthread_attr_setcreatesuspend_np()) might not get scheduled at all when resumed, as the "active" flag would be set spuriously. Reviewed by: deischen@, davidxu@ MFC after: 1 week | ||||
* | Use <osreldate.h> rather than the OS version reported by the kernel | jkoshy | 2006-12-18 | 9 | -67/+74 |
| | | | | | | | | | | | | to determine which Elf Types are to be handled. Change the M4 templates to wrap an `#if __FreeBSD_version >= NNN'/`#endif' pair around the generated code for each ELF data type, where `NNN' is the OS version where the ELF type was added to the source tree. This change allows cross-builds of old sources on newer FreeBSD systems to work correctly. Problem reported by: ru | ||||
* | Use the correct value of __FreeBSD_version. | jkoshy | 2006-12-18 | 2 | -10/+9 |
| | |||||
* | Fix a typo. | jkoshy | 2006-12-16 | 1 | -1/+1 |
| | |||||
* | Consistently use a socklen_t type where required, and eliminate | rodrigc | 2006-12-16 | 1 | -6/+6 |
| | | | | | | | GCC warning "dereferencing type-punned pointer will break strict-aliasing rules". Reviewed by: rrs | ||||
* | Merge BIND9 9.3.3 into main chunk. | ume | 2006-12-15 | 5 | -20/+17 |
| | | | | | Obtained from: ISC MFC after: 1 week | ||||
* | This commit was generated by cvs2svn to compensate for changes in r165254, | ume | 2006-12-15 | 1 | -5/+5 |
|\ | | | | | | | which included commits to RCS files with non-trunk default branches. | ||||
| * | Vendor import of BIND 9.3.3 | ume | 2006-12-15 | 6 | -25/+22 |
| | | |||||
| * | Import of BIND 9.3.3rc2 | ume | 2006-10-24 | 1 | -7/+7 |
| | | |||||
* | | chflags(2) returns EPERM when user tries to set or remove the SF_SNAPSHOT flag. | pjd | 2006-12-15 | 1 | -0/+4 |
| | | |||||
* | | This adds the "system calls" | rrs | 2006-12-15 | 2 | -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) | ||||
* | | - Remove variable _thr_scope_system, all threads are system scope. | davidxu | 2006-12-15 | 10 | -25/+19 |
| | | | | | | | | | | - Rename _thr_smp_cpus to boolean variable _thr_is_smp. - Define CPU_SPINWAIT macro for each arch, only X86 supports it. | ||||
* | | band-aide until _SC_PHYS_PAGES actually is defined | imp | 2006-12-14 | 1 | -0/+2 |
| | | |||||
* | | Add support for _SC_PHYS_PAGES, which is not standard, but can be found in | pjd | 2006-12-14 | 2 | -1/+27 |
| | | | | | | | | Solaris and Linux. | ||||
* | | Document _SC_PAGESIZE. There are still 85 undocumented variables. | pjd | 2006-12-14 | 1 | -1/+3 |
| | | | | | | | | Obtained from: NetBSD | ||||
* | | Create inline function _thr_umutex_trylock2 to only try one atomic | davidxu | 2006-12-14 | 2 | -3/+11 |
| | | | | | | | | | | operation, if it is failed, we call syscall directly, this saves one atomic operation per lock contention. | ||||
* | | - truncate(2) returns EFBIG if the length argument was greater than the | pjd | 2006-12-13 | 1 | -1/+9 |
| | | | | | | | | | | maximum file size. - truncate(2) returns EINVAL if the length argument was less than 0. | ||||
* | | Append-only flag also denies chown(2). | pjd | 2006-12-13 | 1 | -1/+1 |
| | | |||||
* | | Name the functions documented by this manual page correctly. | jkoshy | 2006-12-13 | 1 | -2/+2 |
| | | |||||
* | | Much more correct EFTYPE description. | pjd | 2006-12-13 | 1 | -1/+3 |
| | | |||||
* | | Better wording. | pjd | 2006-12-13 | 2 | -2/+2 |
| | | |||||
* | | Append-only flag also denies chmod(2). Is this correct behaviour? | pjd | 2006-12-13 | 1 | -1/+1 |
| | | |||||
* | | Be more precise with EPERM description. When chown(2) is a no-op, it will | pjd | 2006-12-13 | 1 | -1/+2 |
| | | | | | | | | return 0. | ||||
* | | Write permission if of course only needed for the parent directory of | pjd | 2006-12-13 | 2 | -8/+4 |
| | | | | | | | | | | | | the object beeing created. Pointed out by: bde | ||||
* | | mkfifo(2) returns EACCES when write permission is denied for a component of | pjd | 2006-12-13 | 1 | -0/+2 |
| | | | | | | | | the path prefix. | ||||
* | | Be more specific when ELOOP can be returned. | pjd | 2006-12-12 | 1 | -1/+3 |
| | | |||||
* | | symlink(2) return EACCES if a component of the name2 path prefix denies | pjd | 2006-12-12 | 1 | -0/+4 |
| | | | | | | | | write permission. | ||||
* | | Correct ENOENT description. | pjd | 2006-12-12 | 1 | -2/+4 |
| | | |||||
* | | The 'name1' argument to symlink(2) is only limited to 1023 characters, | pjd | 2006-12-12 | 1 | -1/+3 |
| | | | | | | | | its components are not checked. | ||||
* | | mkdir(2) creates directory, not file. | pjd | 2006-12-12 | 1 | -1/+2 |
| | | |||||
* | | Remove reference to confusing behaviour just removed from | julian | 2006-12-12 | 1 | -6/+3 |
| | | | | | | | | the kse_exit() syscall. Describe the correct behaviour. | ||||
* | | Correctly check failed syscall. | davidxu | 2006-12-12 | 1 | -10/+10 |
| | | |||||
* | | Move checking for c_has_waiters into low level _thr_ucond_signal and | davidxu | 2006-12-12 | 2 | -16/+12 |
| | | | | | | | | | | | | | | _thr_ucond_broadcast, clear condition variable pointer in cancellation info after returing from _thr_ucond_wait, since kernel has already dropped the internal lock, so we don't need to unlock it in cancellation handler again. | ||||
* | | Document the ELF types supported by libelf. | jkoshy | 2006-12-11 | 1 | -1/+93 |
| | | | | | | | | | | Document the relationship between section types (SHT_*) and the types known to the libelf. | ||||
* | | When directory is given as an argument for unlink(2), EPERM is returned | pjd | 2006-12-10 | 1 | -4/+1 |
| | | | | | | | | not matter if this is regular directory or a mount point. | ||||
* | | Changes to generated files related to the 9.3.3 import. | dougb | 2006-12-10 | 9 | -93/+360 |
| | | |||||
* | | If the named file has its immutable or append-only flag set, utimes(2) | pjd | 2006-12-09 | 1 | -1/+6 |
| | | | | | | | | returns EPERM. | ||||
* | | If the parent directory of the named file has its immutable flag set, | pjd | 2006-12-09 | 1 | -1/+6 |
| | | | | | | | | mkfifo(2) returns EPERM. |