diff options
author | djm <> | 2012-11-02 18:18:15 +0000 |
---|---|---|
committer | djm <> | 2012-11-02 18:18:15 +0000 |
commit | 64ab00b74d452286d284fbe8ce4781223600253b (patch) | |
tree | 5ac95b51be61afab38ef830fc97336aacc9973c7 /src/lib/libc/stdlib/strtol.c | |
parent | 32d6b9fd8bf5ca2c2be1fa08a2528c8631540b9a (diff) | |
download | openbsd-64ab00b74d452286d284fbe8ce4781223600253b.tar.gz openbsd-64ab00b74d452286d284fbe8ce4781223600253b.tar.bz2 openbsd-64ab00b74d452286d284fbe8ce4781223600253b.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/strtol.c')
0 files changed, 0 insertions, 0 deletions