diff options
author | kib <kib@FreeBSD.org> | 2017-07-07 06:29:18 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2017-07-07 06:29:18 +0000 |
commit | 68b89c96a435a2d436fda459b2c9a4e6571c9929 (patch) | |
tree | 15ef59894f6a0b0c03212d7fb77b61f6455c2707 /usr.bin | |
parent | 8df37be70f94a016be894dad5569593b1c6757a4 (diff) | |
download | FreeBSD-src-68b89c96a435a2d436fda459b2c9a4e6571c9929.zip FreeBSD-src-68b89c96a435a2d436fda459b2c9a4e6571c9929.tar.gz |
Add MAP_GUARD and use it for stack grow area protection.
Bump __FreeBSD_version. This is an MFS of stable/11 r320666.
MFC r320317:
Implement address space guards.
MFC r320338:
Remove stale part of the comment.
MFC r320339:
Correctly handle small MAP_STACK requests.
MFC r320344:
For now, allow mprotect(2) over the guards to succeed regardless of
the requested protection.
MFC r320430:
Treat the addr argument for mmap(2) request without MAP_FIXED flag as
a hint.
MFC r320560 (by alc):
Modify vm_map_growstack() to protect itself from the possibility of the
gap entry in the vm map being smaller than the sysctl-derived stack guard
size.
Approved by: re (delphij)
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions