summaryrefslogtreecommitdiffstats
path: root/lib (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* Clarify thread-localness in the wake of rfork's removalguenther2012-04-123-18/+28
|
* more rfork mop-upderaadt2012-04-124-30/+9
|
* mmap(2) updatedariane2012-04-121-50/+72
| | | | | | | | Add that len=0 will yield failure with EINVAL. While here, rephrase some of the text. Get rid of MAP_SWAP: its future came and went but nothing came of it. Lots of hackroom input; including feedback from jmc.
* remove rfork(); ok guenther miodderaadt2012-04-1218-788/+42
|
* Remove incorrect -pthread preprocessor define _POSIX_THREADS and replacekurt2012-04-121-6/+1
| | | | | with _REENTRANT. Also remove undef _POSIX_THREADS in phread.h. From brad@comstyle.com. okay guenther@
* crank major for sh gcc4 switchjsg2012-04-121-1/+1
|
* the fpu control symbol on sh (__fpscr_values) suddenly becomes localjsg2012-04-121-2/+5
| | | | | | | instead of global with gcc4 and this ends up breaking things in hard to debug ways. So move the definition to csu instead of libgcc. ok miod@
* kill lfs system call lines and libc stubsderaadt2012-04-121-2/+1
|
* New system call: getdtablecount(2) returns the number of filederaadt2012-04-122-37/+73
| | | | | descriptors the process currently has open. ok guenther miod gilles ...
* document getdelim() and getline(), and a grammar fix whilst here;jmc2012-04-121-4/+6
| | | | | | from Jan Stary ok fgsch
* fix SEE ALSO;jmc2012-04-111-2/+2
|
* Mark outermost frame such that backtraces in thread terminate atkettenis2012-04-111-2/+3
| | | | | | __tfork_thread(). ok guenther@
* Mention and link the pthread barrier functions. Okay jmc@.pirofti2012-04-111-2/+25
|
* complete function name.espie2012-04-111-2/+2
| | | | | | | This shit is so silly, length-wise, that it still makes some sense if you forget to write half of it. (noticed by jmc@)
* tweak previous;jmc2012-04-116-44/+36
|
* In sendmsg() permit at most 10% of maxfiles to be in-flightderaadt2012-04-111-2/+7
| | | | | | during CMSG_DATA SCM_RIGHTS fd transfers. If this is exceeded, return EMFILE. ok claudio guenther gilles
* tweak previous;jmc2012-04-114-26/+28
|
* Provide __tfork_thread() for hppa64. This makes libc compile again.jsing2012-04-111-0/+57
| | | | ok miod@
* libkvm: minor bumpariane2012-04-111-1/+1
| | | | Due to the struct size of vm_map_entry having grown by sizeof(vsize_t).
* Minor bump after my previous commit. Noticed by deraadt@.pirofti2012-04-111-1/+1
|
* Add pthread barrier support.pirofti2012-04-1110-4/+581
| | | | | | | | | | | | | | | Implementation and documentation for: - pthread_barrier_init() - pthread_barrier_destroy() - pthread_barrier_wait() - pthread_barrierattr_init() - pthread_barrierattr_destroy() - pthread_barrierattr_getpshared() - pthread_barrierattr_setpshared() Currently only private barriers are supported. Okay guenther@.
* fuss with detailsespie2012-04-116-31/+36
|
* new clean-room manpages for posix_spawn, unencumbered by any POSIX bullshit.espie2012-04-1111-1096/+333
| | | | | | "just commit it" deraadt@ (nits to be fixed soon)
* Use "unsigned int" rather than "unsigned". No object change.ratchov2012-04-119-89/+96
| | | | suggested by deraadt@
* pthread_setcanceltype() shouldn't be a cancelation pointguenther2012-04-101-2/+1
| | | | ok kurt@
* Do not pick the network number as alias on entries with no aliaseric2012-04-101-3/+2
| | | | | | defined. ok deraadt@
* Document new KERN_NTHREADS and KERN_MAXTHREAD sysctlsguenther2012-04-101-2/+8
|
* range check st_size before calling calloc()deraadt2012-04-061-3/+7
| | | | ok millert
* Fix typo.jsing2012-04-061-3/+3
|
* Document that openat(), etc are safe to call from a signal handler.matthew2012-04-032-40/+40
| | | | | | While here, recognize that _Exit() and raise() are C functions. ok deraadt@, guenther@, jmc@
* tweak previous;jmc2012-04-031-3/+3
|
* simplify the strlcpy/strlcat manual page substantially. do lessderaadt2012-04-021-70/+58
| | | | | | | | | | | | 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
* update libexpat to 2.1.0.rpointel2012-04-017-81/+302
| | | | | | use arc4random instead of rand/srand in generate_hash_secret_salt, spotted by nicm@ and deraadt@. ok nicm@ deraadt@.
* fix previous;jmc2012-04-011-1/+2
|
* remind people to think of the poor file descriptorsderaadt2012-04-011-3/+14
| | | | with claudio and jmc
* The kinfo_file2 structure's f_wbytes member was being filled with theguenther2012-03-281-2/+2
| | | | | | read byte count instead of the written byte count. pointed out by paulm at tetrardus.net, ok dcoppa@
* Bump standards years, as we conform to the new versions tooguenther2012-03-261-4/+4
| | | | ok jmc@
* strsignal() was standardized in POSIX-2008guenther2012-03-261-2/+7
| | | | ok millert@
* The arguments scandir() and alphasort() have changed; show that andguenther2012-03-241-4/+26
| | | | | | give some history. ok matthew@ millert@ jmc@ naddy@
* Make rusage totals, itimers, and profile settings per-process insteadguenther2012-03-231-8/+2
| | | | | | | of per-rthread. Handling of per-thread tick and runtime counters inspired by how FreeBSD does it. ok kettenis@
* we don't mention LIBRARY: cespie2012-03-2310-30/+10
| | | | "of course" deraadt@
* Remove man pages for removed non-portable functions. okay jmc@kurt2012-03-224-159/+4
|
* Remove prototypes for unimplemented non-portable functions in rthreads.kurt2012-03-221-3/+1
| | | | okay deraadt@
* clean the sigact in a portable way; ok matthewderaadt2012-03-221-2/+5
|
* Remove pthread_suspend* and related functions. This is part of thekurt2012-03-225-70/+5
| | | | rthreads major library bump from last night. okay kettenis@
* bump majors on libc and rthreads for the additions to libc and transferguenther2012-03-222-3/+3
| | | | of __tfork_thread from rthreads to libc
* <sched.h> is never pulled in from the kernel and #ifdef KERNEL would beguenther2012-03-221-8/+2
| | | | | | the wrong symbol anyway, so zap some lines ok matthew@
* Make DIR a private type within libc, give it the same underlyingmatthew2012-03-225-5/+23
| | | | | | typedef regardless of __BSD_VISIBLE, and eliminate the dirfd() macro. ok guenther@
* Hide behind #if 0 the sched_*() functions that we don't have yetguenther2012-03-221-1/+6
| | | | Requested and tested against ports by aja@, ok matthew@
* Update alphasort() and scandir()'s argument types to match POSIX:guenther2012-03-221-5/+5
| | | | | | | use "const struct dirent **" instead of "const void *". Also, add __restrict to readdir_r(). ok matthew@