Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Sync printf family return value with ISO C which specifies that | 2015-10-13 | 1 | -3/+3 | ||
| | | | | | these functions return a negative value on failure. OK doug@ deraadt@ | |||||
* | new sentence, new line; | 2015-10-13 | 1 | -5/+6 | ||
| | | | | do not Xr self; | |||||
* | Tighten the ranges in wcrtomb(3). | 2015-10-13 | 1 | -2/+2 | ||
| | | | | | | | | | | | | By definition, the range of valid Unicode code points is the union of U+0000..U+D7FF and U+E000..U+10FFFF (see Unicode 8.0.0, chapter 3.9). In UTF-16, the encoded values that would represent U+D800..U+DFFF are used for surrogate pairs. UTF-8 has no concept of surrogate pairs; attempting to treat them as regular code points violates the standard and makes no sense besides. ok stsp@ | |||||
* | satisfy jmc! | 2015-10-12 | 1 | -6/+5 | ||
| | ||||||
* | Add details about a variety of semantics; going to keep adding and then | 2015-10-12 | 1 | -11/+51 | ||
| | | | | reevaluate the direction of this manual page a bit later. | |||||
* | When isatty() was switched to F_ISATTY, the inline copy in ttyname() | 2015-10-12 | 1 | -4/+2 | ||
| | | | | was forgotten. Just call isatty(). ok deraadt@ | |||||
* | Make it clear that umask ignores everything but the rwx bits. | 2015-10-12 | 1 | -8/+15 | ||
| | | | | OK deraadt@ | |||||
* | Make wcrtomb() more readable by weeding out range errors up front, | 2015-10-12 | 1 | -14/+11 | ||
| | | | | | | | doing ASCII handling once rather than twice, and using <= rather than ((&~)==) obfuscation (which already caused a bug in the past). No functional change. Joint work with and OK stsp@ semarie@ bentley@ | |||||
* | pledge wasn't called pledge in 5.8, and it was disabled; | 2015-10-12 | 1 | -3/+3 | ||
| | | | | issue noticed by tim@, solution suggested by deraadt@ | |||||
* | make description of ERRORS more complete; | 2015-10-12 | 1 | -4/+11 | ||
| | | | | | diff from Benny Lofgren <bl dash lists at lofgren dot biz>; ok nicm@ | |||||
* | Do not insert whitespace into syntax displays, it's just confusing, | 2015-10-11 | 1 | -49/+23 | ||
| | | | | | | | | except at the one place where it is indeed helpful. Add some missing .Cm macros. Remove some useless escaping, one needless .Xo, and an empty .No. Triggered by a much smaller patch from guenther@. OK jmc@ guenther@ | |||||
* | Fix empty .No macros, use .Pf to prefix delimiters to macros. | 2015-10-11 | 1 | -4/+4 | ||
| | | | | | Based on a patch from guenther@, tweaked by me. OK jmc@ guenther@ | |||||
* | Document that execve(2) resets SIGCHLD to SIG_DFL | 2015-10-11 | 3 | -11/+27 | ||
| | | | | wordsmithing and ok jmc@ | |||||
* | Prefer .Fa over .Em for struct members | 2015-10-11 | 2 | -6/+6 | ||
| | | | | ok jmc@ | |||||
* | Document that bind(2) and connect(2) ignore the incoming sa_len | 2015-10-11 | 2 | -6/+14 | ||
| | | | | | suggest by and ok deraadt@ wordsmithing jmc@ | |||||
* | Code points U+10000 to U+fffff are valid, too. | 2015-10-10 | 1 | -2/+2 | ||
| | | | | | | Fixing a regression in wcrtomb(3) found with the mandoc testsuite that was caused by the last commit. OK semarie@ bentley@ | |||||
* | do not use weak; plus this dies next week | 2015-10-09 | 1 | -2/+1 | ||
| | ||||||
* | oops, typo spotted in temporary .c file, by semarie | 2015-10-09 | 1 | -2/+2 | ||
| | ||||||
* | tame -> pledge conversion, in libc. I should crank libc, but am cheating | 2015-10-09 | 4 | -19/+38 | ||
| | | | | | | hoping things go well. The old symbol is faked via a stupid stub function, until next major crank when it can be removed. I am expecting guenther to scream at me. | |||||
* | fix conditionals | 2015-10-08 | 2 | -4/+4 | ||
| | | | | ok deraadt@ | |||||
* | Handle case where no hint is passed in. Found as a crash of fdm by jturner@ | 2015-10-08 | 2 | -4/+4 | ||
| | ||||||
* | Be explicit that the user is responsible for freeing the line buffer | 2015-10-07 | 1 | -4/+10 | ||
| | | | | and show this in the example. | |||||
* | getaddrinfo_async() shouldn't unconditionally intialize the resolver | 2015-10-07 | 3 | -4/+14 | ||
| | | | | | | via _asr_use_resolver(). If the hint specifies for AI_NUMERICHOST, create a transient lookup context which won't try to open /etc/reslov.conf ok eric guenther | |||||
* | getaddrinfo() should not res_init() unconditionally, but allow lower | 2015-10-07 | 1 | -2/+3 | ||
| | | | | | | layers to decide. The request could be AI_NUMERICHOST. [And the process could be tame()-constrained to not open /etc/resolv.conf] ok eric guenther | |||||
* | Wrap <resolv.h> so that internal calls go direct | 2015-10-05 | 6 | -7/+61 | ||
| | | | | ok millert@ | |||||
* | user land -> userland; from Rob Pierce | 2015-10-05 | 1 | -2/+2 | ||
| | ||||||
* | mention sendto(2) destination address restriction for "rw" | 2015-10-04 | 1 | -2/+7 | ||
| | | | | subset; ok deraadt, feedback & ok jmc | |||||
* | Clarify a point. Adjust punctuation after discussion w/ jmc@ | 2015-10-04 | 1 | -3/+3 | ||
| | ||||||
* | Wrap <search.h> to make all the symbols there weak | 2015-10-04 | 1 | -0/+35 | ||
| | ||||||
* | Wrap <spawn.h> to make all the symbols there weak | 2015-10-04 | 1 | -0/+45 | ||
| | ||||||
* | wrap __ivaliduser_sa() so the internal call is direct (at least until we | 2015-10-04 | 1 | -0/+2 | ||
| | | | | stop exporting it) | |||||
* | wrap _fwalk() so internal calls are direct (at least until we stop | 2015-10-04 | 2 | -2/+4 | ||
| | | | | exporting it) | |||||
* | recv() and send() aren't overriden by libpthread (vs recvfrom() and sendto()!) | 2015-10-04 | 3 | -3/+7 | ||
| | | | | so wrap them to make internal calls go direct | |||||
* | getpeereid() and sockatmark() are neither used in libc nor in ISO C, so mark | 2015-10-04 | 1 | -1/+3 | ||
| | | | | them deprecated and weak | |||||
* | __fdnlist() is exported for libkvm, but the internal call can go direct | 2015-10-04 | 1 | -1/+3 | ||
| | ||||||
* | __xdrrec_getrec is in the reserved namespace, so it doesn't need to be weak | 2015-10-04 | 1 | -2/+2 | ||
| | ||||||
* | Delete an inexplicable comment | 2015-10-04 | 1 | -2/+2 | ||
| | ||||||
* | Initially eric developers asr as a side-load style library for async DNS. | 2015-10-03 | 2 | -65/+15 | ||
| | | | | | | | When it was integrated as the main resolver, a bunch of strange initialization code remained. Start whittling away at this, piece by piece, to make it more clear. ok eric | |||||
* | missing asr* -> _asr* symbol rename for building with debug code | 2015-10-03 | 3 | -17/+17 | ||
| | | | | ok jca@ | |||||
* | make a && && & block more readable. no binary change. | 2015-10-02 | 1 | -4/+7 | ||
| | | | | discussed with otto | |||||
* | Eliminate the last of the LINTEDn and PRINTFLIKEn comments. In one | 2015-10-01 | 14 | -44/+19 | ||
| | | | | | | | case, by deleting some useless '& of an array' we also eliminate the need for the casts which prompted the original lint warnings ok deraadt@ | |||||
* | implement new "prot_exec" tame(2) request: | 2015-09-30 | 1 | -3/+15 | ||
| | | | | | | | | | | | - by default, a tamed-program don't have the possibility to use PROT_EXEC for mmap(2) or mprotect(2) - for that, use the request "prot_exec" (that could be dropped later) initial idea from deraadt@ and kettenis@ "make complete sense" beck@ ok deraadt@ | |||||
* | Delete the final, inscrutable NOSTRICT and VARARGS lint comments | 2015-09-29 | 2 | -4/+2 | ||
| | | | | ok millert@ | |||||
* | seperate random functions into their own block | 2015-09-28 | 1 | -20/+22 | ||
| | ||||||
* | xdr_ypresp_all_seq() does not need to be exported by libc, we can make it | 2015-09-28 | 2 | -5/+4 | ||
| | | | | | | | | local static. (Does not need to be exported by librpcsvc either, since it is pre-rpcgen and simply %-commented). A few callers use this via yp_all() -- that interface remains untouched. ports trawl by sthen guenther watched me gnash my teeth in croatia | |||||
* | oops - avoid Xr to self; sorry sebastien... | 2015-09-26 | 1 | -2/+2 | ||
| | ||||||
* | lint is dead: delete useless LINTLIBRARY comments | 2015-09-26 | 2 | -4/+2 | ||
| | | | | ok millert@ | |||||
* | mentions that using systrace(4) on a tame(2) program isn't possible. | 2015-09-26 | 1 | -2/+8 | ||
| | | | | | | with big help from jmc for phrasing. ok jmc@ | |||||
* | correct a range problem in citrus-utf8 version of wcrtomb(3), in order to match | 2015-09-26 | 1 | -2/+2 | ||
| | | | | | | | | | | RFC 3629 (limiting the range of UTF-8 to 0x10FFFF). it is the counterpart of a previous commit correcting mbrtowc(3). problem spotted by stsp ok bentley@ stsp@ | |||||
* | add a small hint that you'll get EBUSY if you forget to wait. ok guenther | 2015-09-24 | 1 | -3/+3 | ||
| |