diff options
author | Joe Simmons-Talbott <josimmon@redhat.com> | 2024-02-29 19:55:58 +0000 |
---|---|---|
committer | Joe Talbott <joetalbott@gmail.com> | 2024-02-29 19:55:58 +0000 |
commit | 71648e80042658f23965924616fb7db9c2fccff9 (patch) | |
tree | 6f8e71df3792ff126df2b7c74cef072af8a28df7 /elf/dl-tunables.list | |
parent | 9b7091415af47082664717210ac49d51551456ab (diff) | |
download | glibc-71648e80042658f23965924616fb7db9c2fccff9.zip glibc-71648e80042658f23965924616fb7db9c2fccff9.tar.gz glibc-71648e80042658f23965924616fb7db9c2fccff9.tar.bz2 |
rtld: Add glibc.rtld.enable_secure tunable.
Add a tunable for setting __libc_enable_secure to 1. Do not set
__libc_enable_secure to 0 if the tunable is set to 0. Ignore all
tunables if glib.rtld.enable_secure is set. One use-case for this
addition is to enable testing code paths that depend on
__libc_enable_secure being set without the need to use setxid binaries.
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Diffstat (limited to 'elf/dl-tunables.list')
-rw-r--r-- | elf/dl-tunables.list | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/elf/dl-tunables.list b/elf/dl-tunables.list index 1b40407..1186272 100644 --- a/elf/dl-tunables.list +++ b/elf/dl-tunables.list @@ -136,6 +136,12 @@ glibc { minval: 0 default: 512 } + enable_secure { + type: INT_32 + minval: 0 + maxval: 1 + default: 0 + } } mem { |