summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/random.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2014-07-13 13:37:38 +0000
committerderaadt <deraadt@openbsd.org>2014-07-13 13:37:38 +0000
commit5a30a5b29fa0086d9798beb14607c9b8f4cf9e67 (patch)
tree446e344b7b53f8fed73a4ef42f3b5ff3a3b9b6fb /lib/libc/stdlib/random.c
parentnew superblock header needs fixes for BE architectures (diff)
downloadwireguard-openbsd-5a30a5b29fa0086d9798beb14607c9b8f4cf9e67.tar.xz
wireguard-openbsd-5a30a5b29fa0086d9798beb14607c9b8f4cf9e67.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 'lib/libc/stdlib/random.c')
0 files changed, 0 insertions, 0 deletions