summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib
diff options
context:
space:
mode:
authorderaadt <>2014-07-13 13:37:38 +0000
committerderaadt <>2014-07-13 13:37:38 +0000
commit29dfc21d062d6f2453c4a90cddbf08f7f7e4e1fe (patch)
treec78f43217261ccd852fb0ee8b8c7188b18ae77d4 /src/lib/libc/stdlib
parenta507f9dd9387923514b8801e5f4424765bf792d1 (diff)
downloadopenbsd-29dfc21d062d6f2453c4a90cddbf08f7f7e4e1fe.tar.gz
openbsd-29dfc21d062d6f2453c4a90cddbf08f7f7e4e1fe.tar.bz2
openbsd-29dfc21d062d6f2453c4a90cddbf08f7f7e4e1fe.zip
Use dl_iterate_phdr() to iterate over the segments and throw the addresses
into the hash; hoping the system has some ASLR or PIE. This replaces and substantially improves upon &main which proved problematic with some picky linkers. Work with kettenis, testing by beck
Diffstat (limited to 'src/lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions