Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tweak; | 2012-04-12 | 1 | -2/+2 | |
| | |||||
* | tweak previous; | 2012-04-12 | 1 | -5/+6 | |
| | |||||
* | alloca.c cannot be used | 2012-04-12 | 13 | -34/+12 | |
| | |||||
* | alloca is NOT machine dependent; it has exactly the same | 2012-04-12 | 1 | -7/+3 | |
| | | | | | effective result. its use is NOT discouraged -- it is not common, but when you need it, there is nothing else that will do. | ||||
* | Since threads are becoming more common, this "work around the | 2012-04-12 | 1 | -136/+0 | |
| | | | | | | compiler not doing alloca in C using malloc" is unworkable. It is not safe, and we can never use it. ok guenther kurt | ||||
* | 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 | 17 | -784/+40 | |
| | |||||
* | crank major for sh gcc4 switch | 2012-04-12 | 1 | -1/+1 | |
| | |||||
* | 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 | ||||
* | Mark outermost frame such that backtraces in thread terminate at | 2012-04-11 | 1 | -2/+3 | |
| | | | | | | __tfork_thread(). ok guenther@ | ||||
* | 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 | ||||
* | Provide __tfork_thread() for hppa64. This makes libc compile again. | 2012-04-11 | 1 | -0/+57 | |
| | | | | ok miod@ | ||||
* | 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) | ||||
* | 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 | ||||
* | 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 | ||||
* | 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 | ||||
* | 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@ | ||||
* | we don't mention LIBRARY: c | 2012-03-23 | 10 | -30/+10 | |
| | | | | "of course" deraadt@ | ||||
* | clean the sigact in a portable way; ok matthew | 2012-03-22 | 1 | -2/+5 | |
| | |||||
* | bump majors on libc and rthreads for the additions to libc and transfer | 2012-03-22 | 1 | -1/+1 | |
| | | | | of __tfork_thread from rthreads to libc | ||||
* | 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@ | ||||
* | 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@ | ||||
* | 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 | ||||
* | Move __tfork_thread() from rthreads (libpthread) to libc so that | 2012-03-22 | 14 | -2/+923 | |
| | | | | | | it can be used for not-strictly-threading purposes ok matthew@ kurt@ | ||||
* | 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 | ||||
* | 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 | |
| | |||||
* | Add manpages for __thrsigdivert, __thrsleep, and __thrwakeup. Various | 2012-03-13 | 3 | -2/+346 | |
| | | | | syntax and grammar fixes from jmc@ | ||||
* | - 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 | |
| | |||||
* | 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@ | ||||
* | 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. |