Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-06-10 | Fix broken markup of function pointer invocations; found | Ingo Schwarze | |
with mandoc -Tlint. While here, delete .Tn macros. | |||
2017-06-10 | fix a sentence that used unusual terminology, the wrong macro, | Ingo Schwarze | |
and broken delimiter syntax; found with mandoc -Tlint | |||
2017-06-07 | Add an acct(5) flag for pledge violations. Then lastcomm(1) shows | Alexander Bluhm | |
when something went wrong. This allows to monitor whether the system is under attack and that the attack has been prevented by OpenBSD pledge(2). OK deraadt@ millert@ jmc@ | |||
2017-06-01 | Remove branch prediction hint from conditional branch instruction. | Christian Weisgerber | |
These hints are not recognized by clang's builtin assembler. From the corresponding amd64 change. ok visa@ kettenis@ | |||
2017-05-31 | Add support for EV_RECEIPT and EV_DISPATCH flags | Mike Belopuhov | |
From FreeBSD via Jan Schreiber <jes at posteo ! de>, thanks! OK tedu, bluhm | |||
2017-05-31 | install futex(2), ok mpi | Stuart Henderson | |
2017-05-30 | getrlimit is now allowed by "stdio" | Theo de Raadt | |
2017-05-30 | Don't fall back to heapsort() if we would otherwise switch to | Todd C. Miller | |
insertion sort (when the number of elements is < 7). | |||
2017-05-29 | sort SEE ALSO; | Jason McIntyre | |
2017-05-29 | sort SEE ALSO; | Jason McIntyre | |
2017-05-29 | It is distasteful to have manual pages which don't refer to real | Theo de Raadt | |
function calls, but instead a "class" of functions like "sigsetops". Rename to sigaddset", and while at it improve documentation in sigprocmask(2) to point to it. ok tedu | |||
2017-05-27 | move sha224_initial_hash_value[] under !SHA2_SMALL; ok deraadt@ millert@ | Christian Weisgerber | |
2017-05-24 | Support swapping 32-bit aligned elements on 64-bit platforms. | Todd C. Miller | |
Previously they would be swapped a byte at a time when sizeof(int) != sizeof(long). Idea from FreeBSD. | |||
2017-05-20 | Document that qsort falls back to heapsort() if the recursion depth | Todd C. Miller | |
exceeds 2 lg N and add a reference to the introsort paper. | |||
2017-05-20 | Use David Musser's introsort algorithm to fall back to heapsort(3) | Todd C. Miller | |
when the recursion depth reaches 2*lg(n + 1). This avoids quicksort's quadratic behavior for pathological input without appreciably changing the average run time. | |||
2017-05-17 | The BSD qsort() performs tail recursion elimination on the second | Todd C. Miller | |
side of the array being partitioned to save on stack space. Greater savings can be gained by choosing recursion for the smaller side of the partition and eliminating recursion for the larger side. This also results in a small but measurable performance gain. OK otto@ schwarze@ | |||
2017-05-15 | Typo: freezeo -> freezero | Theo Buehler | |
From "fenderq" on freenode via tj@ | |||
2017-05-13 | - fix bug wrt posix_memalign(3) of blocks between half a page and a page | Otto Moerbeek | |
- document posix_memalign() does not play nice with reacallocarray(3) and freezero(3) | |||
2017-05-08 | Fix exponential CPU use with repeated '*' operators by changing '*' | Todd C. Miller | |
handling to be interative instead of recursive. Fix by Yves Orton, ported to OpenBSD glob.c by Ray Lai. OK tb@ | |||
2017-05-08 | Update STANDARDS section, these are now in XSI BASE. | Todd C. Miller | |
2017-05-07 | killpg() is covered by XSI so add a STANDARDS section to that effect | Todd C. Miller | |
and document that handling of process group 0 is not specified by the standard. | |||
2017-05-07 | Don't allow a negative process group ID, it would turn into a | Todd C. Miller | |
process ID when negated. | |||
2017-05-06 | Move info about group handling via a negative pid into the list | Todd C. Miller | |
with the other pid-specific details. | |||
2017-05-05 | Document what happens when sending a signal to the calling process. | Todd C. Miller | |
OK jmc@ | |||
2017-05-05 | Mention that the signal mask does not affect what signals are | Todd C. Miller | |
discarded by the kernel. Document that at least one pending signal will be delivered before sigprocmask() returns. | |||
2017-05-04 | Merge headers defining identifiers from sysctl.8 into sysctl.3. Shorten and | Theo Buehler | |
update their descriptions. In sysctl.8 refer to /etc/sysctl.conf in FILES. discussed with and ok jmc | |||
2017-05-03 | make the description strings match the code | Theo de Raadt | |
2017-05-01 | Document that wait3/waitpid can receive SIGCHILD when wpid does | Todd C. Miller | |
not exist or is not a child of the calling process. Document what happens when SIGCHLD is ignored or SA_NOCLDWAIT is set in sa_flags (this part from FreeBSD). OK guenther@ | |||
2017-04-30 | Add futex(2) shim, bump minor. | Martin Pieuchot | |
Inputs from guenther@, ok kettenis@, visa@ | |||
2017-04-28 | Reference the "Futexes Are Tricky" paper. | Martin Pieuchot | |
With schwarze@ | |||
2017-04-28 | errant space; | Jason McIntyre | |
2017-04-28 | Document futex(2) with a lot of inputs from schwarze@ | Martin Pieuchot | |
2017-04-27 | ntohl() returns uint32_t so it cannot be < 0. Since we're storing | Todd C. Miller | |
the result in an int check for > INT_MAX instead. OK bluhm@ | |||
2017-04-27 | Remove "len < 0" check; len is socklen_t (uint32_t) so can't be | Todd C. Miller | |
negative. Quiets a warning from clang. OK bluhm@ | |||
2017-04-23 | Rearrange text a bit to make it clear what "discarded" means; ok jmc@ deraadt@ | Otto Moerbeek | |
2017-04-22 | For small allocations (chunk) freezero only validates the given | Otto Moerbeek | |
size if canaries are enabled. In that case we have the exact requested size of the allocation. But we can at least check the given size against the chunk size if C is not enabled. Plus add some braces so my brain doesn't have to scan for dangling else problems when I see this code. | |||
2017-04-20 | Fix previous. | Visa Hankala | |
2017-04-20 | Get TCB address using the RDHWR instruction instead of __get_tcb(). | Visa Hankala | |
This gives fast access to the address on systems that implement the UserLocal register. TCB caching is still used when running in the single-threaded mode in order not to penalize old systems. The kernel counterpart of this change must be in place before using this diff! With guenther@ | |||
2017-04-18 | don't forget to fill in canary bytes for posix_memalign(3); reported by | Otto Moerbeek | |
and ok jeremy@ | |||
2017-04-17 | consictently use .Dv NULL and a few other tweaks; ok schwarze@ | Otto Moerbeek | |
2017-04-17 | whitespace fixes | Otto Moerbeek | |
2017-04-16 | Always return nonzero from _longjmp too. | Mark Kettenis | |
ok jsg@ | |||
2017-04-15 | Document RB_TIMEBAD; delete RB_* that are obsolete/unimplemented | Philip Guenther | |
ok visa@ deraadt@ | |||
2017-04-14 | whitespace | Theo de Raadt | |
2017-04-14 | correct path; from Klemens Nanni | Theo de Raadt | |
2017-04-13 | Xr sigprocmask(2) not the obsolete sigsetmask(3) | Todd C. Miller | |
2017-04-13 | Use recallocarray in getdelim/getline to clear memory on buffer resizes, | Bryan Steele | |
inspired by a similar change to fgetln. ok deraadt millert | |||
2017-04-13 | allow clearing less than allocated and document freezero(3) better | Otto Moerbeek | |
2017-04-12 | SipHash_Final() was assuming the digest was 64-bit aligned, resulting in | Theo de Raadt | |
misaligned memory accesses with armv7 ramdisk -Os bsd.rd ping ok florian millert | |||
2017-04-12 | New strstr() implementation from musl libc by Rich Felker. This | Todd C. Miller | |
version uses the two-way string matching algorithm and is faster than the old implementation. With this change, ports that check for strstr having linear complexity time strstr will no longer replace the libc strstr with a private version. OK deraadt@ espie@ |