aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/sigstack.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2022-09-02 14:07:06 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2022-10-27 14:46:54 +0100
commitc3e46aa5d253c23ca3828538127aee15efbabfc0 (patch)
tree6bf940b8fbc62cb0a6c572d4a80132ca89d74b02 /sysdeps/unix/sysv/linux/sigstack.c
parentddd4011014924bd46d9fce4cc5333bea9d792d41 (diff)
downloadglibc-c3e46aa5d253c23ca3828538127aee15efbabfc0.tar
glibc-c3e46aa5d253c23ca3828538127aee15efbabfc0.tar.gz
glibc-c3e46aa5d253c23ca3828538127aee15efbabfc0.tar.bz2
glibc-c3e46aa5d253c23ca3828538127aee15efbabfc0.zip
cheri: elf: Use RW permissions for l_ld when needed
The dynamic section of an executable needs to be written to set the DT_DEBUG entry for debuggers (unless the target has some other place to store r_debug). For this reason we make l_ld writable whenever the dynamic section is writable. The ld.so l_ld is kept RX, since it does not have DT_DEBUG. (Note: relocating the dynamic section is not allowed on cheri and that's the only other reason glibc would write to it.)
Diffstat (limited to 'sysdeps/unix/sysv/linux/sigstack.c')
0 files changed, 0 insertions, 0 deletions