Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Do not use an uninitialized value when determining the sign | 2017-10-15 | 1 | -4/+4 | ||
| | | | | | | | | | | of a denormal result of ldexp(3). The bug was found when investigating why denormal results of pow(3) can have an incorrect sign on loongson. pow(3) misbehaviour reported and fix tested by juanfra@ No objection from deraadt@ | |||||
* | Add STANDARDS: denis@ spotted that it was missing. | 2017-10-12 | 1 | -2/+19 | ||
| | | | | OK deraadt@ jca@ jmc@ | |||||
* | Document fktrace(2) more completely, including separation of errors. | 2017-10-08 | 1 | -19/+69 | ||
| | | | | | | Add a few errors that were previously undocumented. ok jmc@ | |||||
* | Add fktrace to the NAME section | 2017-10-07 | 1 | -3/+4 | ||
| | | | | ok jmc@ | |||||
* | Document that connect(2) and sendto(2) may return with errno | 2017-10-05 | 2 | -5/+7 | ||
| | | | | | EADDRNOTAVAIL if local address is not available. OK deraadt@ millert@ | |||||
* | do not return f() where f is a void function; loop var type fix | 2017-10-05 | 1 | -4/+5 | ||
| | ||||||
* | Use dprintf instead of snprintf/write | 2017-10-05 | 1 | -82/+36 | ||
| | ||||||
* | iscntrl(0) is != 0 at least since Version 7 AT&T UNIX, and POSIX | 2017-10-04 | 1 | -3/+3 | ||
| | | | | | | | requires that, too (in XBD 7.3.1), even though the C standard leaves it implementation-defined; found during my kcgi audit on behalf of CAPEM; OK deraadt (stupid me forgot to commit before lock). | |||||
* | pasto in function name in the SYNOPSIS; from semarie@ | 2017-10-04 | 1 | -3/+3 | ||
| | ||||||
* | Document how ioctl(2) LIOCSFD on /dev/klog registers a socket pair | 2017-09-27 | 1 | -2/+19 | ||
| | | | | | to receive sendsyslog(2) messages. discussed with martijn@; OK jmc@ deraadt@ | |||||
* | sendsyslog should take a const char * everywhere. | 2017-09-25 | 1 | -3/+3 | ||
| | | | | okay bluhm@, deraadt@ | |||||
* | Kill unused function | 2017-09-23 | 1 | -9/+1 | ||
| | | | | Spotted by krw@ | |||||
* | Make delayed free non-optional and make F do an extensive double free check. | 2017-09-23 | 1 | -21/+26 | ||
| | | | | ok tb@ tedu@ | |||||
* | tweak previous: remove trailing blank and improve a wording; | 2017-09-21 | 1 | -4/+4 | ||
| | | | | requested by jmc@ | |||||
* | Properly document the typical write(2) loop, | 2017-09-20 | 1 | -16/+18 | ||
| | | | | | | and delete misleading parts from the CAVEATS; issue reported by <ScottCheloha at gmail dot com> on bugs@; OK espie@ millert@ | |||||
* | Document readdir_r() return value and update style of the example | 2017-09-18 | 1 | -6/+9 | ||
| | | | | code. Adapted from a diff by Ross L Richardson. | |||||
* | __progname has type char *, we cannot change its type without causing | 2017-09-17 | 1 | -3/+3 | ||
| | | | | | havoc all over the place. So add some casts to silence the compiler. ok deraadt@ guenther@ | |||||
* | mapalign returns MAP_FAILED for failuer; from George Koehler | 2017-09-12 | 1 | -2/+2 | ||
| | ||||||
* | Update the documentation regarding /dev/mem and /dev/kmem; | 2017-09-12 | 1 | -2/+4 | ||
| | | | | | | Theo already clamped down on these devices last year. Triggered by a question from Nan Xiao <xiaonan830818 at gmail dot com>. OK deraadt@ | |||||
* | check double free before canary for chunks; ok millert@ | 2017-09-11 | 1 | -5/+5 | ||
| | ||||||
* | shm_open(), sysconf(), tcflow(), and tcsendbreak() are not permitted to be | 2017-09-10 | 4 | -10/+11 | ||
| | | | | | | | cancellation points in POSIX, so change them to invoke the non-cancellation point versions of open(), close(), nanosleep(), and write() ok deraadt@ millert@ | |||||
* | Fix spelling of 4.3BSD-Net/2. | 2017-09-10 | 1 | -3/+3 | ||
| | ||||||
* | sysctl strings include the termingating NUL character in both in and out lengths | 2017-09-10 | 1 | -2/+4 | ||
| | | | | | | Prompted by Nan Xiao noticing the redundancy of bzero+termination - thanks. ok deraadt@ | |||||
* | Remove unused 32bit version of elf_hash(). | 2017-09-05 | 3 | -62/+2 | ||
| | | | | | | Riding previous libc bump. ok kettenis@ | |||||
* | New POSIX xlocale implementation written from scratch. | 2017-09-05 | 71 | -1030/+2944 | ||
| | | | | | | | | | | | | Complete in the sense that all POSIX *locale(3) and *_l(3) functions are included, but in OpenBSD, we of course only really care about LC_CTYPE and we only support ASCII and UTF-8. With important help from kettenis@, guenther@, and jca@. Repeated testing in ports bulk builds by naddy@. Additional testing by jca@, sebastia@, dcoppa@, and others. OK kettenis@ dcoppa@, and guenther@ on an earlier version. Riding guenther@'s libc/librthread major bump. | |||||
* | Add additional errno values required by POSIX. | 2017-09-05 | 2 | -3/+15 | ||
| | | | | ok jca@ kettenis@ deraadt@ | |||||
* | Move mutex, condvar, and thread-specific data routes, pthread_once, and | 2017-09-05 | 19 | -879/+428 | ||
| | | | | | | | | pthread_exit from libpthread to libc, along with low-level bits to support them. Major bump to both libc and libpthread. Requested by libressl team. Ports testing by naddy@ ok kettenis@ | |||||
* | delete pointless .Tn ASCII found by jca@ with mandoc -Tlint | 2017-09-02 | 1 | -5/+4 | ||
| | ||||||
* | Mention strtok_r in STANDARDS | 2017-08-31 | 1 | -2/+6 | ||
| | | | | POSIX 2001 instead of POSIX.1c suggested by millert@ and jmc@, ok jmc@ | |||||
* | It is confusing to talk about priorities being ordered from high | 2017-08-29 | 1 | -6/+6 | ||
| | | | | | | | to low when they are actually numbered in the opposite (numerical) order. Use "ordered by decreasing importance" instead. Also try to make it clear that LOG_UPTO uses the numerical priorities where a larger value means a lower priority. OK jmc@ | |||||
* | isunordered() returns true if at least one of the arguments is NaN | 2017-08-29 | 1 | -7/+3 | ||
| | | | | OK espie@ | |||||
* | Remove mpool.libtp, it was part of the Berkeley DB tarball but not | 2017-08-22 | 1 | -746/+0 | ||
| | | | | | | present int the CSRG libc. It is only of historical interest and, given the amount of time passed, probably not even that anymore. OK deraadt@, prodded by miod@ | |||||
* | two MALLOC_STATS only tweaks; one from David CARLIER, the other found by clang | 2017-08-20 | 1 | -8/+4 | ||
| | ||||||
* | Use 0xcc trapsleds instead of default/nop/0xcc in BTC alignments | 2017-08-19 | 3 | -6/+6 | ||
| | ||||||
* | Don't need .text before ENTRY(), also minor spacing cleanups | 2017-08-19 | 4 | -13/+8 | ||
| | ||||||
* | Put _map table into .rodata instead of .text | 2017-08-19 | 2 | -5/+4 | ||
| | ||||||
* | s/DEF_STD/DEF_STRONG/ to match namespace.h differences between librthread | 2017-08-15 | 5 | -29/+29 | ||
| | | | | and libc | |||||
* | Wrap <sched.h> and <sys/futex.h> so that internal calls go direct | 2017-08-15 | 2 | -0/+50 | ||
| | ||||||
* | Sort headers per style(9) | 2017-08-15 | 10 | -34/+31 | ||
| | ||||||
* | Copy files from ../librthread in preparation for moving functionality | 2017-08-15 | 1 | -0/+49 | ||
| | | | | | | | from libpthread to libc. No changes to the build yet, just making it easier to review the substantive diffs. ok beck@ kettenis@ tedu@ | |||||
* | Copy files from ../librthread in preparation for moving functionality | 2017-08-15 | 23 | -0/+3529 | ||
| | | | | | | | from libpthread to libc. No changes to the build yet, just making it easier to review the substantive diffs. ok beck@ kettenis@ tedu@ | |||||
* | fmt0 is a wchar_t *, so use %ls to report | 2017-08-15 | 1 | -3/+3 | ||
| | ||||||
* | Use sendsyslog() directly instead of syslog_r() for the "backwards memcpy" | 2017-08-14 | 1 | -3/+12 | ||
| | | | | | | | messages, to avoid pulling in piles of other machinery unnecessarily problem observed by schwarze@ ok deraadt@ millert@ | |||||
* | add fktrace to libc | 2017-08-13 | 2 | -5/+14 | ||
| | ||||||
* | Minimize #includes, particularly to avoid thread_private.h | 2017-08-12 | 4 | -13/+5 | ||
| | | | | ok tedu@ | |||||
* | Instead of hardcoding a partial dependency list for the syscall stub objects, | 2017-08-12 | 1 | -28/+26 | ||
| | | | | calculate them as done for other objects | |||||
* | Stop running nd6_expire every second. | 2017-08-08 | 1 | -7/+2 | ||
| | | | | | We know when pltime or vltime decrease to zero. Run nd6_expire then. Input & OK mpi, bluhm | |||||
* | Kernel sendsyslog(2), libc syslog(3), and syslogd(8) restrict and | 2017-08-08 | 1 | -2/+2 | ||
| | | | | | | truncate the length of a syslog message to 8192 bytes. Use one global define LOG_MAXLINE for all of them. OK deraadt@ millert@ | |||||
* | Since sendsyslog(2) handles the LOG_CONS parameter, the variable | 2017-08-07 | 1 | -4/+2 | ||
| | | | | | conp in syslog(3) is unused. Remove dead code. OK jca@ deraadt@ | |||||
* | We only support ASCII and UTF-8, so we never need to | 2017-08-05 | 3 | -20/+3 | ||
| | | | | | | change _ctype_, _tolower_tab_, and _toupper_tab_. No functional change. Suggested by and OK kettenis@ |