]> git.ipfire.org Git - thirdparty/glibc.git/commit
cheri: don't use dl_random for pointer mangling
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Tue, 1 Mar 2022 17:36:12 +0000 (17:36 +0000)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 27 Oct 2022 13:46:51 +0000 (14:46 +0100)
commit8fc31e80652b073dfad49a57f925663db8d618eb
tree864e33a1723f6a40d3cedf704fd67ffda00428e1
parent1d7fa3f736b795e4e2b953ebc3bd89a8e55471f2
cheri: don't use dl_random for pointer mangling

Pointer mangling cannot be supported on capability architectures.
And there is not enough bytes in dl_random for 128 bit pointers.

Stack guard is still loaded from dl_random: stack protection is
unlikely to be useful on a capability architecture, but it works.
sysdeps/unix/sysv/linux/dl-osinfo.h