Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add mentions about net.mpls and net.inet.ip.ifq. | 2013-06-02 | 1 | -2/+71 | |
| | | | | input from jmc claudio | ||||
* | fix id, from brad | 2013-06-02 | 1 | -1/+1 | |
| | |||||
* | tweak previous; | 2013-06-01 | 1 | -5/+5 | |
| | |||||
* | reorder syslog params descr to make sense, and minor tweaks, plus jmc@'s | 2013-06-01 | 1 | -60/+65 | |
| | | | | | input. okay jmc@, schwarze@ | ||||
* | string.h defines null for us | 2013-06-01 | 1 | -2/+1 | |
| | |||||
* | no need to cast null | 2013-06-01 | 1 | -13/+13 | |
| | |||||
* | doesn't need any headers | 2013-05-31 | 1 | -3/+1 | |
| | |||||
* | minor tweaks | 2013-05-31 | 1 | -4/+5 | |
| | |||||
* | fixie | 2013-05-31 | 1 | -2/+2 | |
| | |||||
* | Add getprogname() and setprogname() to ease slackers^porters' work. | 2013-05-31 | 5 | -11/+168 | |
| | | | | | | | | | Man page adapted from FreeBSD and NetBSD. Bump libc minor now (there will be more upcoming changes). input from tedu@ get it in deraadt@ | ||||
* | add shm_open and friends which i have been told ports programs would | 2013-05-31 | 3 | -3/+209 | |
| | | | | | like to use. ok deraadt guenther | ||||
* | use FD_CLOEXEC instead of 1; from David Hill | 2013-04-29 | 1 | -2/+2 | |
| | | | | ok otto | ||||
* | Fixed typo. | 2013-04-22 | 1 | -3/+3 | |
| | | | | ok jmc | ||||
* | add clock_gettime to see also. i think guenther was ok with this. | 2013-04-19 | 1 | -2/+3 | |
| | |||||
* | add some prototypes, casts, includes, parenthesis, and whatnot to | 2013-04-17 | 6 | -9/+14 | |
| | | | | silence some warnings. | ||||
* | Remove CTL_USER hierarchy from sysctl() | 2013-04-15 | 2 | -248/+4 | |
| | | | | | | (Use sysconf() or confstr() instead) ok miod@ millert@ | ||||
* | Implement fdatasync() as a wrapper around fsync() | 2013-04-15 | 2 | -2/+16 | |
| | | | | ok guenther, deraadt, jmc | ||||
* | rthread sysctl isn't experimental anymore. oh, and it's gone too. | 2013-04-06 | 1 | -6/+2 | |
| | |||||
* | - Add comments regarding copies of these files also in libexec/ld.so | 2013-04-05 | 2 | -2/+6 | |
| | | | | okay guenther@ | ||||
* | Switch libc and libm to use strong aliases rather than weak aliases | 2013-03-28 | 9 | -87/+24 | |
| | | | | | | | | | | | where appropriate. Among other things makes the symbols consistent across all architectures (notably where ldbl mantissa is 53 bits). While at it, kill unused LINTLIBRARY/PROTOLIB1 cruft which was there to trick lint into recording the right prototypes for aliased functions. Most of the work done at the awesome n2k13 hackathon. Agreed by kettenis@, guenther@, matthew@. | ||||
* | sysconf(_SC_SEM_VALUE_MAX) should return SEM_VALUE_MAX, not some | 2013-03-24 | 1 | -7/+3 | |
| | | | | | unrelated sysv sem limit. Similarly, sysconf(_SC_SEM_NSEMS_MAX) should return -1 instead of another sysv sem limit. | ||||
* | Do not need machine/param.h | 2013-03-21 | 1 | -2/+1 | |
| | |||||
* | tedu faith(4), suggested by todd@ some weeks ago after a submission by | 2013-03-14 | 1 | -13/+2 | |
| | | | | | | dhill. ok krw@, mikeb@, tedu@ (implicit) | ||||
* | document LOG_ODELAY; from Daniel Dickman | 2013-03-11 | 1 | -2/+9 | |
| | | | | ok millert | ||||
* | Oops: confstr()'s return value should include the NUL in its count | 2013-03-07 | 1 | -5/+5 | |
| | | | | Problem pointed out by Andres Perera (andres.p (at) zoho.com) | ||||
* | zap end of line whitespace; | 2013-03-02 | 1 | -5/+5 | |
| | |||||
* | Adds the (somewhat silly) _CS_V[67]_ENV and _CS_POSIX_V[67]_* defines | 2013-03-01 | 2 | -48/+180 | |
| | | | | | | | | to <unistd.h> and confstr(3) per POSIX 1003.1-2008 Change confstr(_CS_PATH) to operate directly instead of calling sysctl(3) ports build tested by espie@ | ||||
* | More int's that should be size_t for strlen() use | 2013-01-08 | 2 | -5/+8 | |
| | | | | ok millert | ||||
* | use a size_t instead of an int to avoid signed compare | 2013-01-07 | 1 | -2/+3 | |
| | | | | | spotted by Ilja Van Sprundel ok millert | ||||
* | sysctl.3: remove some confusing text about NFS_NIOTHREADS | 2013-01-03 | 1 | -6/+5 | |
| | | | | | | | | | sysctl.8: remove the vfs.nfs.iothreads example, since a) showing how to set a default value is not particularly helpful and b) EXAMPLES is bloated enough as it is; further, remove the text which points to other pages for further discussion, since those pages no longer provide relevant info diff started by an email from Jan Stary; blambert helped me prepare this diff | ||||
* | Remove excessive sys/cdefs.h inclusion | 2012-12-05 | 21 | -43/+24 | |
| | | | | ok guenther millert kettenis | ||||
* | Change scandir()'s 'select' argument from | 2012-11-29 | 2 | -5/+13 | |
| | | | | | | | | | int (*)(struct dirent *) to int (*)(const struct dirent *) to match POSIX. ok millert@, ports check by naddy@ | ||||
* | Copy from the is* manpages the CAVEAT about the input range. | 2012-11-23 | 2 | -4/+20 | |
| | | | | ok jmc@ | ||||
* | raise() sends the signal to the current thread and only one error can occur. | 2012-11-10 | 1 | -14/+13 | |
| | | | | ok jmc@ | ||||
* | Per POSIX, fix raise() and abort() to send the signal to the current thread. | 2012-11-10 | 1 | -2/+4 | |
| | | | | | | Should make coredumps from abort() easier to debug too. ok kurt@ | ||||
* | Make sleep(3) and usleep(3) more consistent and remove extraneous | 2012-10-16 | 2 | -67/+52 | |
| | | | | | | | historic implementation details that get in the way of readability. Our usleep(3) does not return EINVAL for values >= 1,000,000 but still mention it in CAVEATS since some do. Portions adapted from FreeBSD. OK jmc@ | ||||
* | Remove the first paragraph. The first sentence is already stated in the | 2012-09-26 | 1 | -7/+2 | |
| | | | | | | STANDARDS section and the second sentence is bogus. ok matthew@ | ||||
* | remove tahoe-specific makefile machinery, no such hardware is known to be | 2012-09-15 | 1 | -13/+1 | |
| | | | | | in working condition anymore (assuming there would be interest in running on it). | ||||
* | Fix _SC_CHILD_MAX, _SC_OPEN_MAX, and _SC_STREAM_MAX to correctly | 2012-08-29 | 1 | -6/+38 | |
| | | | | | | | | | | | handle rlim_cur set to RLIM_INFINITY or values greater than LONG_MAX, as unlikely as those are to happen. Further limit _SC_STREAM_MAX to at most SHRT_MAX, because struct __sFILE uses a short int for storing the file descriptor. While here, also remove a dead label that Clang complains about. From FreeBSD via Brad. | ||||
* | RFCs 2461 and 2462 have been replaced by, respectively, RFCs 4861 and 4862; | 2012-08-18 | 1 | -6/+6 | |
| | |||||
* | In sysconf(), don't bother querying the kernel for userspace-only | 2012-06-24 | 1 | -40/+19 | |
| | | | | | | values or features that POSIX now requires to always be provided. From Brad; ok guenther and me; incorporates feedback from millert too | ||||
* | More sysconf(3)-y and pathconf(3)-y goodness from Brad. | 2012-05-14 | 1 | -29/+231 | |
| | | | | ok guenther, millert (and me); bulk build test by naddy | ||||
* | 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 | 1 | -3/+3 | |
| | |||||
* | 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 | |
| | |||||
* | 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) | ||||
* | 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 |