Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Update cancellation point list to reflect what's done with rthreads | 2012-03-22 | 1 | -2/+6 | ||
| | ||||||
* | Add dirfd() as a function to libc per POSIX requirement; dirfd() macro | 2012-03-22 | 2 | -2/+14 | ||
| | | | | | | to be pruned later when DIR is made an opaque type. ok guenther@; prodding by brad@ for VLC and other ports | |||||
* | closefrom() should be a cancellation point | 2012-03-22 | 1 | -2/+16 | ||
| | ||||||
* | tfork_thread has been moved to libc | 2012-03-22 | 13 | -921/+0 | ||
| | ||||||
* | Move __tfork_thread() from rthreads (libpthread) to libc so that | 2012-03-22 | 15 | -4/+925 | ||
| | | | | | | it can be used for not-strictly-threading purposes ok matthew@ kurt@ | |||||
* | new sentence, new line; | 2012-03-22 | 1 | -3/+4 | ||
| | ||||||
* | Implement getdelim(3) and getline(3). | 2012-03-21 | 4 | -3/+332 | ||
| | | | | | | | | | Prompted in a mail to tech@ by Jan Klemkow (j-dot-klemkow-at-wemelug-dot-de) but this is based on NetBSD's implementation instead with some tweaks by me. Further improvements would happen in tree. ok millert@; discussed with many others ports cleanup by naddy@, sthen@. Antti Harri, Gonzalo L. R. and myself. | |||||
* | Implement execvpe(3) and posix_spawn(3) and family. Based on | 2012-03-21 | 14 | -17/+1839 | ||
| | | | | | | | | FreeBSD's implementation via Frank Denis, with various cleanups and tweaks by me. ok deraadt@, guenther@; discussions and tweaks from many others jmc@ promises to help me further with the man pages in tree | |||||
* | Update list of cancellation points to reflect what was in 5.1's uthreads | 2012-03-21 | 1 | -6/+28 | ||
| | | | | Pointed out by nicolas.george at normalesup.org. ok jmc@ | |||||
* | Fix a bug where random() always returns 0 when srandom() is seeded | 2012-03-21 | 1 | -2/+3 | ||
| | | | | | with 0. Use 1 and not 0 as the first element of the state array, similar to what glibc does. OK nicm@ | |||||
* | the disease is spreading | 2012-03-20 | 1 | -3/+3 | ||
| | ||||||
* | Clean up unnecessary prototypes. Pointed out by brad@ | 2012-03-20 | 1 | -7/+1 | ||
| | ||||||
* | Permit recursive locking in _rthread_dl_lock(), as an so's destructor | 2012-03-20 | 1 | -2/+42 | ||
| | | | | | | may need to call dlclose(). problem observed by Antti Harri (iku at openbsd.fi), ok kurt@ | |||||
* | pull in more .h (spotted since struct vnode was not in scope) | 2012-03-16 | 1 | -1/+12 | ||
| | ||||||
* | Force sched_yield() to be resolved before calling dlctl(DL_SET*LCK) with | 2012-03-14 | 1 | -1/+2 | ||
| | | | | | | a function that can call sched_yield(), to avoid recursion ok kurt@ kettenis@ | |||||
* | 0 is a valid uid for files sysctl, don't skip it. reminded by guenther | 2012-03-13 | 1 | -2/+2 | ||
| | ||||||
* | Add manpages for __thrsigdivert, __thrsleep, and __thrwakeup. Various | 2012-03-13 | 3 | -2/+346 | ||
| | | | | syntax and grammar fixes from jmc@ | |||||
* | Don't trust the environment if issetugid() | 2012-03-13 | 1 | -1/+3 | ||
| | ||||||
* | - fix a mistake in the list header | 2012-03-10 | 1 | -3/+3 | ||
| | | | | - zap trailing whitespace | |||||
* | Try to document the new settings of net.inet.tcp.rfc3390. | 2012-03-10 | 1 | -3/+7 | ||
| | ||||||
* | Major bump, since struct vm_map and vm_map_entry changed size and layout. | 2012-03-09 | 1 | -1/+1 | ||
| | ||||||
* | Userspace counterpart of new vmmap. | 2012-03-09 | 1 | -13/+14 | ||
| | | | | Allows memory walks to function. | |||||
* | tweak previous; | 2012-03-06 | 1 | -3/+3 | ||
| | ||||||
* | Add the _POSIX_MONOTONIC_CLOCK symbol and the sysconf(3) | 2012-03-06 | 2 | -3/+8 | ||
| | | | | | | | | | | | _SC_MONOTONIC_CLOCK variable. from Brad No libc minor crank needed, as no API has been changed, per se (deraadt). ports bulk testing by landry@ small man rewording from thib@ ok millert@ otto@ deraadt@ | |||||
* | New threads now inherit their TCB address from their parent thread | 2012-03-04 | 1 | -4/+3 | ||
| | ||||||
* | Drop the rpcauth(3) MLINK, there is no function of that name. | 2012-03-04 | 3 | -14/+14 | ||
| | | | | Joint work with and OK haesbaert@ jmc@ | |||||
* | add sem_timedwait to NAME; | 2012-03-04 | 1 | -2/+3 | ||
| | ||||||
* | Document sem_timedwait() | 2012-03-03 | 2 | -7/+33 | ||
| | ||||||
* | Sync the assembly statements with <machine/lock.h> for consistency. | 2012-03-03 | 1 | -5/+9 | ||
| | ||||||
* | Bump minor for recent additions | 2012-03-03 | 1 | -1/+1 | ||
| | ||||||
* | sem_timedwait() should return ETIMEDOUT instead of EWOULDBLOCK on timeout | 2012-03-03 | 1 | -2/+2 | ||
| | ||||||
* | Add sem_timewait() and fix sem_wait()'s handling of signals, so | 2012-03-03 | 4 | -22/+58 | ||
| | | | | | | | that it resumes waiting unless the thread was canceled. As part of this, change the internal _sem_wait() function to return zero on success and an errno value on failure instead of 1 on success and zero on failure. | |||||
* | fix check when setting the contention scope. harmless atm but still wrong. | 2012-03-02 | 1 | -2/+2 | ||
| | | | | guenther@ ok. | |||||
* | for readability, put the label on it's own line. | 2012-03-02 | 1 | -2/+3 | ||
| | ||||||
* | _SPINLOCK_UNLOCKED isn't zero everywhere (*cough*hppa*cough*), so | 2012-03-02 | 1 | -1/+2 | ||
| | | | | | | | sem_init() can't assume that calloc will leave the embedded spinlock in the unlocked state ok miod@ otto@ | |||||
* | Update to tzcode2012a from munnari.oz.au | 2012-03-01 | 4 | -20/+36 | ||
| | ||||||
* | - Test for the retrieved page address not being NULL. This turns free((void*)1) | 2012-02-29 | 1 | -2/+7 | ||
| | | | | | | into an bogus pointer error instead of a segfault. - Document that we use the assumption that a non-MAP_FIXED mmap() with hint 0 never returns NULL. | |||||
* | Our default mutex type is PTHREAD_MUTEX_ERRORCHECK, for which trying | 2012-02-28 | 1 | -1/+20 | ||
| | | | | | | | | | | to unlock an uninitialized mutex is required to return EPERM, so add the necessary checks. For recursive mutexes, return an error from pthread_mutex_lock() if the count would overflow. problem observed in glib testing by aja@ | |||||
* | fix __errno symbol name | 2012-02-27 | 1 | -2/+2 | ||
| | ||||||
* | Fix buglets. | 2012-02-26 | 1 | -3/+3 | ||
| | ||||||
* | Fix several manpage titles, from Lawrence Teo. | 2012-02-26 | 3 | -9/+9 | ||
| | | | | ok dcoppa@ jmc@ schwarze@. | |||||
* | __cerror gets invoked with errno in v0, not a0. | 2012-02-26 | 1 | -2/+2 | ||
| | ||||||
* | Fix label for threaded binaries to link. | 2012-02-26 | 1 | -2/+2 | ||
| | ||||||
* | Apply a bit more consistency in the ordering of functions in each | 2012-02-25 | 1 | -16/+16 | ||
| | | | | group of functions. No objection from jmc@ | |||||
* | Add pthread_condattr_{get,set}clock(), pthread_mutex_timedlock(), | 2012-02-24 | 1 | -3/+24 | ||
| | | | | and pthread_rwlock_{timed,try}{rd,wr}lock(). Requested by jmc@ | |||||
* | jmc@ points out that the underlying manpage should be named after one | 2012-02-24 | 2 | -8/+7 | ||
| | | | | of the functions, not a generic name that doesn't itself exist | |||||
* | now that pthread_mutex_trylock.3 has been folded into pthread_mutex_lock.3, | 2012-02-24 | 4 | -13/+9 | ||
| | | | | don;t list both pages in SEE ALSO; | |||||
* | Correct the spelling of "transferred" and "transferring" | 2012-02-24 | 1 | -2/+2 | ||
| | | | | from Tobias Ulmer (tobiasu at tmux.org); ok jmc@, krw@ | |||||
* | sched_yield() is the standard name while pthread_yield() is the | 2012-02-24 | 1 | -2/+2 | ||
| | | | | non-standard alias, so prefer the former | |||||
* | Document pthread_condattr_{init,destroy,setclock,getclock} | 2012-02-24 | 2 | -1/+125 | ||
| |