diff options
author | Martynas Venckus <martynas@cvs.openbsd.org> | 2014-02-16 00:33:45 +0000 |
---|---|---|
committer | Martynas Venckus <martynas@cvs.openbsd.org> | 2014-02-16 00:33:45 +0000 |
commit | d7637c028a65b58de45efb5d0e690b558894f828 (patch) | |
tree | ef48e5564db0659644529e7d0f35620a87fc95aa /libexec/ld.so/Makefile | |
parent | 2cb17ad03f14e8f0070fcf558bbd3992ceafa0c4 (diff) |
Update ld.so-cookie test which is currently broken and gets in the
way of SSP testing. For some reason this diff keeps escaping from
cvs commit...
Basic idea:
* Use dl_iterate_phdr() to iterate all loaded ELF program headers.
* Check that we actually find a header for ld.so.
* For ld.so, check that we find a PT_OPENBSD_RANDOMIZE segment.
* For each PT_OPENBSD_RANDOMIZE segment, check that at least one
byte in the memory range is non-zero.
Written by matthew@.
"Please go ahaed" kettenis@.
"Move fast" deraadt@, a week ago.
Diffstat (limited to 'libexec/ld.so/Makefile')
0 files changed, 0 insertions, 0 deletions