about summary refs log tree commit diff
path: root/elf/tst-tunables-enable_secure-env.c
Commit message (Collapse)AuthorAgeFilesLines
* elf/rtld: Count skipped environment variables for enable_secureJoe Simmons-Talbott2024-04-161-0/+33
When using the glibc.rtld.enable_secure tunable we need to keep track of the count of environment variables we skip due to __libc_enable_secure being set and adjust the auxv section of the stack. This fixes an assertion when running ld.so directly with glibc.rtld.enable_secure set. Add a testcase that ensures the assert is not hit. elf/rtld.c:1324 assert (auxv == sp + 1); Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>