]> git.ipfire.org Git - thirdparty/glibc.git/commit
cheri: elf: use RX, RW capabilities to derive pointers
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 7 Apr 2022 16:04:59 +0000 (17:04 +0100)
committerSzabolcs Nagy <szabolcs.nagy@arm.com>
Thu, 27 Oct 2022 13:46:53 +0000 (14:46 +0100)
commiteca0182a2b8f3603434f1385fadbb56cbfc90aab
tree7de4cf9f89c97ea823cc901d7f615a9f2b481ed9
parent28bd4285ad0f8ce6026583e9cc0a612018d461ba
cheri: elf: use RX, RW capabilities to derive pointers

Instead of

  map->l_addr + offset

use

  dl_rx_ptr (map, offset)
  dl_rw_ptr (map, offset)

depending on RX or RW permission requirement.
elf/dl-find_object.h
elf/dl-load.c
elf/dl-runtime.c
elf/dl-version.c
elf/do-rel.h
elf/rtld.c
sysdeps/generic/ldsodefs.h