Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-03-22 | bump majors on libc and rthreads for the additions to libc and transfer | Philip Guenthe | |
of __tfork_thread from rthreads to libc | |||
2012-03-22 | <sched.h> is never pulled in from the kernel and #ifdef KERNEL would be | Philip Guenthe | |
the wrong symbol anyway, so zap some lines ok matthew@ | |||
2012-03-22 | Make DIR a private type within libc, give it the same underlying | Matthew Dempsky | |
typedef regardless of __BSD_VISIBLE, and eliminate the dirfd() macro. ok guenther@ | |||
2012-03-22 | Hide behind #if 0 the sched_*() functions that we don't have yet | Philip Guenthe | |
Requested and tested against ports by aja@, ok matthew@ | |||
2012-03-22 | Update alphasort() and scandir()'s argument types to match POSIX: | Philip Guenthe | |
use "const struct dirent **" instead of "const void *". Also, add __restrict to readdir_r(). ok matthew@ | |||
2012-03-22 | Update cancellation point list to reflect what's done with rthreads | Philip Guenthe | |
2012-03-22 | Add dirfd() as a function to libc per POSIX requirement; dirfd() macro | Matthew Dempsky | |
to be pruned later when DIR is made an opaque type. ok guenther@; prodding by brad@ for VLC and other ports | |||
2012-03-22 | closefrom() should be a cancellation point | Philip Guenthe | |
2012-03-22 | tfork_thread has been moved to libc | Philip Guenthe | |
2012-03-22 | Move __tfork_thread() from rthreads (libpthread) to libc so that | Philip Guenthe | |
it can be used for not-strictly-threading purposes ok matthew@ kurt@ | |||
2012-03-22 | new sentence, new line; | Jason McIntyre | |
2012-03-21 | Implement getdelim(3) and getline(3). | Federico G. Schwindt | |
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. | |||
2012-03-21 | Implement execvpe(3) and posix_spawn(3) and family. Based on | Matthew Dempsky | |
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 | |||
2012-03-21 | Update list of cancellation points to reflect what was in 5.1's uthreads | Philip Guenthe | |
Pointed out by nicolas.george at normalesup.org. ok jmc@ | |||
2012-03-21 | Fix a bug where random() always returns 0 when srandom() is seeded | Todd C. Miller | |
with 0. Use 1 and not 0 as the first element of the state array, similar to what glibc does. OK nicm@ | |||
2012-03-20 | the disease is spreading | David Gwynne | |
2012-03-20 | Clean up unnecessary prototypes. Pointed out by brad@ | Philip Guenthe | |
2012-03-20 | Permit recursive locking in _rthread_dl_lock(), as an so's destructor | Philip Guenthe | |
may need to call dlclose(). problem observed by Antti Harri (iku at openbsd.fi), ok kurt@ | |||
2012-03-16 | pull in more .h (spotted since struct vnode was not in scope) | Theo de Raadt | |
2012-03-14 | Force sched_yield() to be resolved before calling dlctl(DL_SET*LCK) with | Philip Guenthe | |
a function that can call sched_yield(), to avoid recursion ok kurt@ kettenis@ | |||
2012-03-13 | 0 is a valid uid for files sysctl, don't skip it. reminded by guenther | Ted Unangst | |
2012-03-13 | Add manpages for __thrsigdivert, __thrsleep, and __thrwakeup. Various | Philip Guenthe | |
syntax and grammar fixes from jmc@ | |||
2012-03-13 | Don't trust the environment if issetugid() | Philip Guenthe | |
2012-03-10 | - fix a mistake in the list header | Jason McIntyre | |
- zap trailing whitespace | |||
2012-03-10 | Try to document the new settings of net.inet.tcp.rfc3390. | Claudio Jeker | |
2012-03-09 | Major bump, since struct vm_map and vm_map_entry changed size and layout. | Ariane van der Steldt | |
2012-03-09 | Userspace counterpart of new vmmap. | Ariane van der Steldt | |
Allows memory walks to function. | |||
2012-03-06 | tweak previous; | Jason McIntyre | |
2012-03-06 | Add the _POSIX_MONOTONIC_CLOCK symbol and the sysconf(3) | Antoine Jacoutot | |
_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@ | |||
2012-03-04 | New threads now inherit their TCB address from their parent thread | Philip Guenthe | |
2012-03-04 | Drop the rpcauth(3) MLINK, there is no function of that name. | Ingo Schwarze | |
Joint work with and OK haesbaert@ jmc@ | |||
2012-03-04 | add sem_timedwait to NAME; | Jason McIntyre | |
2012-03-03 | Document sem_timedwait() | Philip Guenthe | |
2012-03-03 | Sync the assembly statements with <machine/lock.h> for consistency. | Miod Vallat | |
2012-03-03 | Bump minor for recent additions | Philip Guenthe | |
2012-03-03 | sem_timedwait() should return ETIMEDOUT instead of EWOULDBLOCK on timeout | Philip Guenthe | |
2012-03-03 | Add sem_timewait() and fix sem_wait()'s handling of signals, so | Philip Guenthe | |
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. | |||
2012-03-02 | fix check when setting the contention scope. harmless atm but still wrong. | Federico G. Schwindt | |
guenther@ ok. | |||
2012-03-02 | for readability, put the label on it's own line. | Federico G. Schwindt | |
2012-03-02 | _SPINLOCK_UNLOCKED isn't zero everywhere (*cough*hppa*cough*), so | Philip Guenthe | |
sem_init() can't assume that calloc will leave the embedded spinlock in the unlocked state ok miod@ otto@ | |||
2012-03-01 | Update to tzcode2012a from munnari.oz.au | Todd C. Miller | |
2012-02-29 | - Test for the retrieved page address not being NULL. This turns free((void*)1) | Otto Moerbeek | |
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. | |||
2012-02-28 | Our default mutex type is PTHREAD_MUTEX_ERRORCHECK, for which trying | Philip Guenthe | |
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@ | |||
2012-02-27 | fix __errno symbol name | Miod Vallat | |
2012-02-26 | Fix buglets. | Miod Vallat | |
2012-02-26 | Fix several manpage titles, from Lawrence Teo. | Christiano F. Haesbaert | |
ok dcoppa@ jmc@ schwarze@. | |||
2012-02-26 | __cerror gets invoked with errno in v0, not a0. | Miod Vallat | |
2012-02-26 | Fix label for threaded binaries to link. | Miod Vallat | |
2012-02-25 | Apply a bit more consistency in the ordering of functions in each | Philip Guenthe | |
group of functions. No objection from jmc@ | |||
2012-02-24 | Add pthread_condattr_{get,set}clock(), pthread_mutex_timedlock(), | Philip Guenthe | |
and pthread_rwlock_{timed,try}{rd,wr}lock(). Requested by jmc@ |