elf: Remove glibc.rtld.enable_secure check from parse_tunables_string
commitc8a0e21da63b6e5c7f558cdd31a5d208c1677df3
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 6 May 2024 16:18:46 +0000 (6 13:18 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 7 May 2024 15:16:36 +0000 (7 12:16 -0300)
tree2fcb785053ffe7d081b4b2c3181b666d6db9315f
parentbcae44ea8536b30a7119c0986ff5692bddacb672
elf: Remove glibc.rtld.enable_secure check from parse_tunables_string

And move it to parse_tunables.  It avoids a string comparison for
each tunable.

Checked on aarch64-linux-gnu and x86_64-linux-gnu.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
elf/dl-tunables.c