Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Clarify thread-localness in the wake of rfork's removal | 2012-04-12 | 3 | -18/+28 | ||
| | ||||||
* | more rfork mop-up | 2012-04-12 | 4 | -30/+9 | ||
| | ||||||
* | mmap(2) updated | 2012-04-12 | 1 | -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 miod | 2012-04-12 | 18 | -788/+42 | ||
| | ||||||
* | Remove incorrect -pthread preprocessor define _POSIX_THREADS and replace | 2012-04-12 | 1 | -6/+1 | ||
| | | | | | with _REENTRANT. Also remove undef _POSIX_THREADS in phread.h. From brad@comstyle.com. okay guenther@ | |||||
* | crank major for sh gcc4 switch | 2012-04-12 | 1 | -1/+1 | ||
| | ||||||
* | the fpu control symbol on sh (__fpscr_values) suddenly becomes local | 2012-04-12 | 1 | -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 stubs | 2012-04-12 | 1 | -2/+1 | ||
| | ||||||
* | New system call: getdtablecount(2) returns the number of file | 2012-04-12 | 2 | -37/+73 | ||
| | | | | | descriptors the process currently has open. ok guenther miod gilles ... | |||||
* | document getdelim() and getline(), and a grammar fix whilst here; | 2012-04-12 | 1 | -4/+6 | ||
| | | | | | | from Jan Stary ok fgsch | |||||
* | fix SEE ALSO; | 2012-04-11 | 1 | -2/+2 | ||
| | ||||||
* | Mark outermost frame such that backtraces in thread terminate at | 2012-04-11 | 1 | -2/+3 | ||
| | | | | | | __tfork_thread(). ok guenther@ | |||||
* | Mention and link the pthread barrier functions. Okay jmc@. | 2012-04-11 | 1 | -2/+25 | ||
| | ||||||
* | complete function name. | 2012-04-11 | 1 | -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; | 2012-04-11 | 6 | -44/+36 | ||
| | ||||||
* | In sendmsg() permit at most 10% of maxfiles to be in-flight | 2012-04-11 | 1 | -2/+7 | ||
| | | | | | | during CMSG_DATA SCM_RIGHTS fd transfers. If this is exceeded, return EMFILE. ok claudio guenther gilles | |||||
* | tweak previous; | 2012-04-11 | 4 | -26/+28 | ||
| | ||||||
* | Provide __tfork_thread() for hppa64. This makes libc compile again. | 2012-04-11 | 1 | -0/+57 | ||
| | | | | ok miod@ | |||||
* | libkvm: minor bump | 2012-04-11 | 1 | -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@. | 2012-04-11 | 1 | -1/+1 | ||
| | ||||||
* | Add pthread barrier support. | 2012-04-11 | 10 | -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 details | 2012-04-11 | 6 | -31/+36 | ||
| | ||||||
* | new clean-room manpages for posix_spawn, unencumbered by any POSIX bullshit. | 2012-04-11 | 11 | -1096/+333 | ||
| | | | | | | "just commit it" deraadt@ (nits to be fixed soon) | |||||
* | Use "unsigned int" rather than "unsigned". No object change. | 2012-04-11 | 9 | -89/+96 | ||
| | | | | suggested by deraadt@ | |||||
* | pthread_setcanceltype() shouldn't be a cancelation point | 2012-04-10 | 1 | -2/+1 | ||
| | | | | ok kurt@ | |||||
* | Do not pick the network number as alias on entries with no alias | 2012-04-10 | 1 | -3/+2 | ||
| | | | | | | defined. ok deraadt@ | |||||
* | Document new KERN_NTHREADS and KERN_MAXTHREAD sysctls | 2012-04-10 | 1 | -2/+8 | ||
| | ||||||
* | range check st_size before calling calloc() | 2012-04-06 | 1 | -3/+7 | ||
| | | | | ok millert | |||||
* | Fix typo. | 2012-04-06 | 1 | -3/+3 | ||
| | ||||||
* | Document that openat(), etc are safe to call from a signal handler. | 2012-04-03 | 2 | -40/+40 | ||
| | | | | | | While here, recognize that _Exit() and raise() are C functions. ok deraadt@, guenther@, jmc@ | |||||
* | tweak previous; | 2012-04-03 | 1 | -3/+3 | ||
| | ||||||
* | simplify the strlcpy/strlcat manual page substantially. do less | 2012-04-02 | 1 | -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. | 2012-04-01 | 7 | -81/+302 | ||
| | | | | | | use arc4random instead of rand/srand in generate_hash_secret_salt, spotted by nicm@ and deraadt@. ok nicm@ deraadt@. | |||||
* | fix previous; | 2012-04-01 | 1 | -1/+2 | ||
| | ||||||
* | remind people to think of the poor file descriptors | 2012-04-01 | 1 | -3/+14 | ||
| | | | | with claudio and jmc | |||||
* | The kinfo_file2 structure's f_wbytes member was being filled with the | 2012-03-28 | 1 | -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 too | 2012-03-26 | 1 | -4/+4 | ||
| | | | | ok jmc@ | |||||
* | strsignal() was standardized in POSIX-2008 | 2012-03-26 | 1 | -2/+7 | ||
| | | | | ok millert@ | |||||
* | The arguments scandir() and alphasort() have changed; show that and | 2012-03-24 | 1 | -4/+26 | ||
| | | | | | | give some history. ok matthew@ millert@ jmc@ naddy@ | |||||
* | Make rusage totals, itimers, and profile settings per-process instead | 2012-03-23 | 1 | -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: c | 2012-03-23 | 10 | -30/+10 | ||
| | | | | "of course" deraadt@ | |||||
* | Remove man pages for removed non-portable functions. okay jmc@ | 2012-03-22 | 4 | -159/+4 | ||
| | ||||||
* | Remove prototypes for unimplemented non-portable functions in rthreads. | 2012-03-22 | 1 | -3/+1 | ||
| | | | | okay deraadt@ | |||||
* | clean the sigact in a portable way; ok matthew | 2012-03-22 | 1 | -2/+5 | ||
| | ||||||
* | Remove pthread_suspend* and related functions. This is part of the | 2012-03-22 | 5 | -70/+5 | ||
| | | | | rthreads major library bump from last night. okay kettenis@ | |||||
* | bump majors on libc and rthreads for the additions to libc and transfer | 2012-03-22 | 2 | -3/+3 | ||
| | | | | of __tfork_thread from rthreads to libc | |||||
* | <sched.h> is never pulled in from the kernel and #ifdef KERNEL would be | 2012-03-22 | 1 | -8/+2 | ||
| | | | | | | the wrong symbol anyway, so zap some lines ok matthew@ | |||||
* | Make DIR a private type within libc, give it the same underlying | 2012-03-22 | 5 | -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 yet | 2012-03-22 | 1 | -1/+6 | ||
| | | | | Requested and tested against ports by aja@, ok matthew@ | |||||
* | Update alphasort() and scandir()'s argument types to match POSIX: | 2012-03-22 | 1 | -5/+5 | ||
| | | | | | | | use "const struct dirent **" instead of "const void *". Also, add __restrict to readdir_r(). ok matthew@ |