diff options
author | djm <> | 2012-11-02 18:18:15 +0000 |
---|---|---|
committer | djm <> | 2012-11-02 18:18:15 +0000 |
commit | cc27290cd0ac9c8a750e38719b5dff3cb0219726 (patch) | |
tree | 5ac95b51be61afab38ef830fc97336aacc9973c7 /src/lib/libc/stdlib/radixsort.c | |
parent | e05982c56ef9dbde368df8fe35a8458f34b76f76 (diff) | |
download | openbsd-cc27290cd0ac9c8a750e38719b5dff3cb0219726.tar.gz openbsd-cc27290cd0ac9c8a750e38719b5dff3cb0219726.tar.bz2 openbsd-cc27290cd0ac9c8a750e38719b5dff3cb0219726.zip |
Add a new malloc option 'U' => "Free unmap" that does the guarding/
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.
Diffstat (limited to 'src/lib/libc/stdlib/radixsort.c')
0 files changed, 0 insertions, 0 deletions