summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2012-04-03Document that openat(), etc are safe to call from a signal handler.Matthew Dempsky
While here, recognize that _Exit() and raise() are C functions. ok deraadt@, guenther@, jmc@
2012-04-03tweak previous;Jason McIntyre
2012-04-02simplify the strlcpy/strlcat manual page substantially. do lessTheo de Raadt
explaining of "what a C string is", and make it more clear that these functiosn BEHAVE EXACTLY LIKE snprintf with "%s"! (anyone who wants to write a 'strlcpy considered harmful' paper should probably write a 'strlcpy and snprintf considered harmful' paper instead). note to those from other projects reading this commit message: It would be very good if this new manual was picked up in your project. ok jmc millert krw
2012-04-01update libexpat to 2.1.0.Remi Pointel
use arc4random instead of rand/srand in generate_hash_secret_salt, spotted by nicm@ and deraadt@. ok nicm@ deraadt@.
2012-04-01fix previous;Jason McIntyre
2012-04-01remind people to think of the poor file descriptorsTheo de Raadt
with claudio and jmc
2012-03-28The kinfo_file2 structure's f_wbytes member was being filled with thePhilip Guenthe
read byte count instead of the written byte count. pointed out by paulm at tetrardus.net, ok dcoppa@
2012-03-26Bump standards years, as we conform to the new versions tooPhilip Guenthe
ok jmc@
2012-03-26strsignal() was standardized in POSIX-2008Philip Guenthe
ok millert@
2012-03-24The arguments scandir() and alphasort() have changed; show that andPhilip Guenthe
give some history. ok matthew@ millert@ jmc@ naddy@
2012-03-23Make rusage totals, itimers, and profile settings per-process insteadPhilip Guenthe
of per-rthread. Handling of per-thread tick and runtime counters inspired by how FreeBSD does it. ok kettenis@
2012-03-23we don't mention LIBRARY: cMarc Espie
"of course" deraadt@
2012-03-22Remove man pages for removed non-portable functions. okay jmc@Kurt Miller
2012-03-22Remove prototypes for unimplemented non-portable functions in rthreads.Kurt Miller
okay deraadt@
2012-03-22clean the sigact in a portable way; ok matthewTheo de Raadt
2012-03-22Remove pthread_suspend* and related functions. This is part of theKurt Miller
rthreads major library bump from last night. okay kettenis@
2012-03-22bump majors on libc and rthreads for the additions to libc and transferPhilip Guenthe
of __tfork_thread from rthreads to libc
2012-03-22<sched.h> is never pulled in from the kernel and #ifdef KERNEL would bePhilip Guenthe
the wrong symbol anyway, so zap some lines ok matthew@
2012-03-22Make DIR a private type within libc, give it the same underlyingMatthew Dempsky
typedef regardless of __BSD_VISIBLE, and eliminate the dirfd() macro. ok guenther@
2012-03-22Hide behind #if 0 the sched_*() functions that we don't have yetPhilip Guenthe
Requested and tested against ports by aja@, ok matthew@
2012-03-22Update 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-22Update cancellation point list to reflect what's done with rthreadsPhilip Guenthe
2012-03-22Add dirfd() as a function to libc per POSIX requirement; dirfd() macroMatthew Dempsky
to be pruned later when DIR is made an opaque type. ok guenther@; prodding by brad@ for VLC and other ports
2012-03-22closefrom() should be a cancellation pointPhilip Guenthe
2012-03-22tfork_thread has been moved to libcPhilip Guenthe
2012-03-22Move __tfork_thread() from rthreads (libpthread) to libc so thatPhilip Guenthe
it can be used for not-strictly-threading purposes ok matthew@ kurt@
2012-03-22new sentence, new line;Jason McIntyre
2012-03-21Implement 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-21Implement execvpe(3) and posix_spawn(3) and family. Based onMatthew 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-21Update list of cancellation points to reflect what was in 5.1's uthreadsPhilip Guenthe
Pointed out by nicolas.george at normalesup.org. ok jmc@
2012-03-21Fix a bug where random() always returns 0 when srandom() is seededTodd 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-20the disease is spreadingDavid Gwynne
2012-03-20Clean up unnecessary prototypes. Pointed out by brad@Philip Guenthe
2012-03-20Permit recursive locking in _rthread_dl_lock(), as an so's destructorPhilip Guenthe
may need to call dlclose(). problem observed by Antti Harri (iku at openbsd.fi), ok kurt@
2012-03-16pull in more .h (spotted since struct vnode was not in scope)Theo de Raadt
2012-03-14Force sched_yield() to be resolved before calling dlctl(DL_SET*LCK) withPhilip Guenthe
a function that can call sched_yield(), to avoid recursion ok kurt@ kettenis@
2012-03-130 is a valid uid for files sysctl, don't skip it. reminded by guentherTed Unangst
2012-03-13Add manpages for __thrsigdivert, __thrsleep, and __thrwakeup. VariousPhilip Guenthe
syntax and grammar fixes from jmc@
2012-03-13Don't trust the environment if issetugid()Philip Guenthe
2012-03-10- fix a mistake in the list headerJason McIntyre
- zap trailing whitespace
2012-03-10Try to document the new settings of net.inet.tcp.rfc3390.Claudio Jeker
2012-03-09Major bump, since struct vm_map and vm_map_entry changed size and layout.Ariane van der Steldt
2012-03-09Userspace counterpart of new vmmap.Ariane van der Steldt
Allows memory walks to function.
2012-03-06tweak previous;Jason McIntyre
2012-03-06Add 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-04New threads now inherit their TCB address from their parent threadPhilip Guenthe
2012-03-04Drop the rpcauth(3) MLINK, there is no function of that name.Ingo Schwarze
Joint work with and OK haesbaert@ jmc@
2012-03-04add sem_timedwait to NAME;Jason McIntyre
2012-03-03Document sem_timedwait()Philip Guenthe
2012-03-03Sync the assembly statements with <machine/lock.h> for consistency.Miod Vallat