diff options
author | deraadt <> | 2014-07-13 13:37:38 +0000 |
---|---|---|
committer | deraadt <> | 2014-07-13 13:37:38 +0000 |
commit | 29dfc21d062d6f2453c4a90cddbf08f7f7e4e1fe (patch) | |
tree | c78f43217261ccd852fb0ee8b8c7188b18ae77d4 /src/lib/libc/stdlib/random.c | |
parent | a507f9dd9387923514b8801e5f4424765bf792d1 (diff) | |
download | openbsd-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/random.c')
0 files changed, 0 insertions, 0 deletions