summaryrefslogtreecommitdiff
path: root/sbin/fdisk
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2016-08-08 22:05:27 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2016-08-08 22:05:27 +0000
commita1a0cc4825570dd02b2ebae1476f0113978d647e (patch)
tree684832bb56d3a56bef65554621e4dfe7d9355e44 /sbin/fdisk
parentcad4d8a2aaa04165e4354ba73bd1ed482eab3167 (diff)
Look for a PT_GNU_RELRO section and, if present, mprotect that range
instead of the [__got_start, __got_end) range. Also, instead of mprotecting the [__plt_start, __plt_end) range, just scan for sections which are both writable and executable and mprotect them to read-only. (This part was stolen from kettenis@) ok kettenis@
Diffstat (limited to 'sbin/fdisk')
0 files changed, 0 insertions, 0 deletions