| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
| |
right __dso_handle and have dlopen'ed shared objects run their atexit handlers
when they get unloaded. This is what Linux does, and several ports depend on
this behaviour (and will crash upon exit without this chang).
Based on an earlier diff from matthew@
Tested by ajacoutot@
ok deraadt@
|
|
|
|
| |
ok guenther otto
|
|
|
|
| |
ok deraadt@
|
|
|
|
| |
From: Jan Stary
|
|
|
|
| |
ok deraadt@
|
| |
|
|
|
|
|
| |
facts checked by sobrado@
style tweaks and ok jmc@
|
|
|
|
| |
From FreeBSD. OK miod@
|
|
|
|
|
|
| |
just an alias of the latter.
ok matthew@ tedu@
|
| |
|
|
|
|
|
|
|
| |
move the call_depth decrement so it happens unconditionally and can
still return to 0 when called with dso!=NULL.
ok millert
|
|
|
|
| |
the function is going to return.
|
| |
|
|
|
|
| |
silence some warnings.
|
|
|
|
| |
okay guenther@
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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@.
|
|
|
|
| |
reported by ajacoutot and (much earlier, sorry) by Alexey Suslikov
|
|
|
|
| |
corner cases. OK millert@.
|
|
|
|
| |
expanded, but not enough due to precedence error. Spotted by Thorsten Glaser.
|
|
|
|
| |
ok guenther millert kettenis
|
| |
|
|
|
|
| |
text. OK deraadt@
|
| |
|
|
|
|
|
| |
grantpt() and unlockpt() using /dev/ptm. Man pages from FreeBSD.
OK kettenis@ deraadt@ beck@ ajacoutot@ naddy@
|
|
|
|
|
|
| |
or the special value of 0.
ok deraadt@ otto@
|
|
|
|
|
|
| |
Should make coredumps from abort() easier to debug too.
ok kurt@
|
|
|
|
|
|
|
|
|
|
|
|
| |
unmapping of freed allocations without disabling chunk randomisation
like the "Freeguard" ('F') option does. Make security 'S' option
use 'U' and not 'F'.
Rationale: guarding with no chunk randomisation is great for debugging
use-after-free, but chunk randomisation offers better defence against
"heap feng shui" style attacks that depend on carefully constructing a
particular heap layout so we should leave this enabled when requesting
security options.
|
|
|
|
|
|
| |
an empty name, NULL pointer, or a name containing an '=' character.
OK millert@, guenther@
|
| |
|
|
|
|
|
| |
in working condition anymore (assuming there would be interest in running on
it).
|
| |
|
|
|
|
|
| |
equal, but it is more correct)
from Michal Mazurek
|
|
|
|
|
|
| |
Okay otto@.
Found by Michal Mazurek <akfaew at jasminek dot net>, thanks!
|
| |
|
|
|
|
|
| |
param.h symbol reduction.
ok guenther
|
|
|
|
| |
Pointed out by Joachim Schipper (joachim at joachimschipper.nl)
|
|
|
|
|
| |
Based on a note from Steffen Daode Nurpmeso (sdaoden at googlemail.com)
ok jmc@
|
|
|
|
|
|
| |
scanning for free space if the hint isn't available.
also, on further inspection, this will prevent pmap_prefer from "improving"
our hint.
|
|
|
|
|
|
| |
clear out the entire requested area, not just a perfect fit. second,
use mquery to check for room to avoid getting an address we don't like
and having to send it back.
|
|
|
|
|
|
| |
in order to span the the entire cache. second, on free use the same offset
to put things in the cache instead of always starting at zero.
ok otto
|
|
|
|
|
|
| |
overallocating and then releasing unneeded memory pages.
ok otto
|
|
|
|
|
|
| |
Update SYNOPSIS for setkey() to show it's in <stdlib.h>
ok jmc@, millert@
|
|
|
|
|
|
|
| |
and valloc() are not in the current version, while posix_memalign() mkstemp(),
and mkdtemp() are, and setstate()'s argument has lost a bogus 'const'.
ok millert@ jmc@ espie@ kettenis@; ports build testing by naddy@
|
|
|
|
|
| |
effective result. its use is NOT discouraged -- it is not
common, but when you need it, there is nothing else that will do.
|
|
|
|
|
| |
with 0. Use 1 and not 0 as the first element of the state array,
similar to what glibc does. OK nicm@
|
|
|
|
|
|
| |
into an bogus pointer error instead of a segfault.
- Document that we use the assumption that a non-MAP_FIXED mmap() with
hint 0 never returns NULL.
|
|
|
|
|
|
|
| |
the last node is deleted. Instead, resolve the Coverity warning
by returning (node *)1 when you delete the root node.
based an idea from millert@. ok otto@
|
|
|
|
|
| |
All facts from http://minnie.tuhs.org/cgi-bin/utree.pl, checked by sobrado@.
Feedback and ok jmc@ jmc@ (sic, Jason checked and ok'ed this twice).
|
|
|
|
|
| |
space for meta data by only allocating space actually needed for
the bitmap (modulo alignment requirements). ok deraadt@
|