summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/strtol.c
diff options
context:
space:
mode:
authordjm <>2012-11-02 18:18:15 +0000
committerdjm <>2012-11-02 18:18:15 +0000
commit64ab00b74d452286d284fbe8ce4781223600253b (patch)
tree5ac95b51be61afab38ef830fc97336aacc9973c7 /src/lib/libc/stdlib/strtol.c
parent32d6b9fd8bf5ca2c2be1fa08a2528c8631540b9a (diff)
downloadopenbsd-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