diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-03-10 12:26:29 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2021-07-08 13:48:06 -0300 |
commit | ae8c243d2473bdfc3c0f9c6b46e6dffb5a28725c (patch) | |
tree | 1c038848c39b2480fe61c8bf03c565e782e813f3 /csu/libc-start.c | |
parent | 79969f41a7caf9a503a04b78653db971918afa26 (diff) | |
download | glibc-ae8c243d2473bdfc3c0f9c6b46e6dffb5a28725c.tar.gz glibc-ae8c243d2473bdfc3c0f9c6b46e6dffb5a28725c.tar.xz glibc-ae8c243d2473bdfc3c0f9c6b46e6dffb5a28725c.zip |
support: Add support_stack_alloc
The code to allocate a stack from xsigstack is refactored so it can be more generic. The new support_stack_alloc() also set PROT_EXEC if DEFAULT_STACK_PERMS has PF_X. This is required on some architectures (hppa for instance) and trying to access the rtld global from testsuite will require more intrusive refactoring in the ldsodefs.h header. Checked on x86_64-linux-gnu and i686-linux-gnu. I also ran tst-xsigstack on both hppa and ia64.
Diffstat (limited to 'csu/libc-start.c')
0 files changed, 0 insertions, 0 deletions