Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-07-04 | Track whether a process is a zombie or not yet fully built via flags | Philip Guenther | |
PS_{ZOMBIE,EMBRYO} on the process instead of peeking into the process's thread data. This eliminates the need for the thread-level SDEAD state. Change kvm_getprocs() (both the sysctl() and kvm backends) to report the "most active" scheduler state for the process's threads. tweaks kettenis@ feedback and ok matthew@ | |||
2014-07-03 | Memory-leak-in-error-path of the day in X509_ATTRIBUTE_set1_data(). | Miod Vallat | |
ok logan@ beck@ | |||
2014-07-03 | rework some fflush text, as requested | Jason McIntyre | |
From: Edward tweaks From: Tim van der Molen | |||
2014-07-02 | Various small typographic fixes for mman.h manual pages: | Matthew Dempsky | |
Use .Fn instead of .Nm as appropriate Use .In for include lines Use .Rv -std where possible Use .Xr to refer to functions from other manual pages Remove extraneous sys/types.h include More substantive changes to follow. Discussed with schwarze | |||
2014-07-02 | Memory leak in error path of the day, from clang via dhill@bitrig; | Miod Vallat | |
ok dhill@bitrig | |||
2014-07-02 | Sync description of PROT_* flags between mmap.2 and mprotect.2 | Matthew Dempsky | |
ok guenther | |||
2014-07-02 | pk7_doit.c r1.20 introduced a NULL check that ensures that the signature | Joel Sing | |
contents are not NULL, however this breaks detached signature processing. Fix this by allowing the signature contents to be NULL when operating with a detached signature. Found the hard way by sthen@. ok sthen@ | |||
2014-07-02 | Remove more unused cruft. | Joel Sing | |
No objection from the usual suspects. | |||
2014-07-02 | KNF. | Joel Sing | |
2014-07-01 | Avoid a NULL deref in i2d_ECPrivateKey() when an EC_KEY lacks the public key | Miod Vallat | |
member (which is perfectly acceptable). From BoringSSL (Adam Langley), commit f71a27920a903c9c36bcb31e68781b17674d3fd2 | |||
2014-07-01 | Use a flag on the pthread_t to indicate that the thread's stack was | Philip Guenther | |
allocated by the kernel's execve bits. ok matthew@ | |||
2014-06-30 | simplify and unobfuscate a variable to fix a mem leak. | Ted Unangst | |
original diff by logan | |||
2014-06-30 | fix the identical leak in three different files. | Ted Unangst | |
reported by Brent Cook, original diff by logan | |||
2014-06-30 | sys/types.h rather than sys/param.h, where applicable. avoid overreach. | Theo de Raadt | |
2014-06-30 | sort includes much more sensibly | Theo de Raadt | |
2014-06-30 | limits.h rather than sys/param.h | Theo de Raadt | |
2014-06-29 | Free "data" when it's no longer in use. | Loganaden Velvindron | |
(Thanks to Brent Cook) OK from jsing@ | |||
2014-06-29 | Fix file descriptor leak | Loganaden Velvindron | |
(Thanks to Brent Cook) OK from jsing@ | |||
2014-06-29 | Remove yet another unused file... a backup copy (minus copyright and | Joel Sing | |
includes) follows this commit message: | |||
2014-06-29 | KNF. | Joel Sing | |
I just spent too long chasing a bug in here and really should have done this first. Gem of the day... is it an if test or a for loop? No, it is a super ifloop! if (!(flags & PKCS7_NOVERIFY)) for (k = 0; k < sk_X509_num(signers); k++) { | |||
2014-06-29 | Remove another unused source file - I got suspicious when I found a | Joel Sing | |
function that ended with: if (ret & 0x01) if (ret & V_ASN1_CONSTRUCTED) } | |||
2014-06-29 | More KNF. | Joel Sing | |
2014-06-29 | correct issetugid sense as spotted by Stijn van Drongelen. | Theo de Raadt | |
Substantially expand the conditional to reduce potential for error. | |||
2014-06-28 | Add a missing word. | Jeremie Courreges-Anglas | |
2014-06-28 | Fix a memory leak and another one that occurs in the error paths. | Loganaden Velvindron | |
(Thanks to Brent Cook) OK from tedu@ | |||
2014-06-28 | Fix 9 memory leaks. | Loganaden Velvindron | |
(Thanks to Brent Cook) With help from tedu@ OK from tedu@ | |||
2014-06-28 | Fix 2 memory leaks. | Loganaden Velvindron | |
(Thanks to Brent Cook) OK from tedu@ | |||
2014-06-28 | Use strtonum() instead of atoi(), and then impose what are we think | Theo de Raadt | |
are the current range checks. Help from millert and lteo. Please test now that it is deployed and let us know if any numbers are off.. ok lteo | |||
2014-06-27 | Fix mmap() flag usage: explicitly specify MAP_PRIVATE and drop useless | Matthew Dempsky | |
MAP_FILE and MAP_HASSEMAPHORE flags. Discussed with deraadt, tedu, and kettenis | |||
2014-06-27 | zap unneccessary punctuation; | Jason McIntyre | |
2014-06-27 | When building a BN on the stack in BN_div(), make sure to initialize all its | Miod Vallat | |
fields (i.e. the flags field) before using it. This is currently harmless, but might not be if we end up invoking other BN functions checking for constant-time processing requirement in the future. | |||
2014-06-27 | re-init and init code paths are now more shared, so the getpid()-based | Theo de Raadt | |
portable code path must handle that; with brent cook | |||
2014-06-27 | Cleanup ioctl.2 slightly: | Matthew Dempsky | |
- Markup ioctl argument types with Fa - Be clearer that ioctl arguments are pointers to ints. Similar changes to follow for manual pages that describe device-specific ioctl commands. Discussed with jmc and schwarze. | |||
2014-06-27 | OpenBSD supports mmap() on block special files too. | Matthew Dempsky | |
2014-06-27 | Split out mmap's compatibility flags into a separate section, so users | Matthew Dempsky | |
aren't misled into thinking they're useful on OpenBSD. | |||
2014-06-27 | Revise wording to reflect that callers should always specify (exactly) | Matthew Dempsky | |
one of MAP_PRIVATE or MAP_SHARED, as required by POSIX. However, also caveat that currently OpenBSD doesn't strictly enforce this behavior. | |||
2014-06-27 | extra evil spaces snuck in over the last while | Theo de Raadt | |
2014-06-27 | Move to a smaller rbytes buffer and skip a random part. Not to | Otto Moerbeek | |
improve the random stream itself (it doesn't), but to introduce noise in the arc4random calling pattern. Thanks to matthew@ who pointed out bias in a previous diff, ok deraadt@ matthew@ | |||
2014-06-27 | save_errno botch; spotted by miod | Theo de Raadt | |
2014-06-27 | hand-KNF macro the do { } while loops | Theo de Raadt | |
2014-06-27 | hand-KNF the remaining bits | Theo de Raadt | |
2014-06-27 | Remove M_ASN1_New* macros which are only used in X509_PKEY_new() are obfuscate | Miod Vallat | |
it to hide memory leaks in the error paths, and fix aforementioned memory leaks. ok jsing@ logan@ deraadt@ | |||
2014-06-26 | Add back an #ifndef MAP_INHERIT_ZERO chunk to support the old getpid() | Theo de Raadt | |
mechanism, to aid in portability to other systems as requested. ok matthew | |||
2014-06-26 | Document that mmap() confirms to POSIX 2008, except that we generate | Matthew Dempsky | |
SIGSEGV instead of SIGBUS for page references beyond the end of a mapped object. | |||
2014-06-26 | save errno in ERR_put_error(), so that SYSerr doesn't have any accidental | Theo de Raadt | |
cases where errno can be trashed. ok jsing | |||
2014-06-26 | fix HD() misuse; from brent cook | Theo de Raadt | |
2014-06-26 | Convert several calloc calls to reallocarray. These calloc calls were | Lawrence Teo | |
originally malloc(n * m) calls (without memset/bzero) in the past. ok deraadt@ tedu@ | |||
2014-06-25 | AT_BASE returns us the *address* of the start of ld.so, so | Bob Beck | |
use the address, not what it points to (which is always the same) ok deraadt@ | |||
2014-06-25 | get the page of data at AT_SYSINFO_EHDR | Bob Beck | |
ok deraadt@ | |||
2014-06-25 | comment fixes from theo | Bob Beck | |