diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-07-08 16:38:10 -0300 |
---|---|---|
committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-07-31 17:02:05 -0300 |
commit | 52ddeb99b2db8247a7095ae1354acb3ca3e4ea4a (patch) | |
tree | 483786f0c7d72de96b718a3902e493ec26eb2dfe /string | |
parent | 8d2a331b64c8d299d11826058c43d29643cf6b86 (diff) | |
download | glibc-azanella/mseal.tar.gz glibc-azanella/mseal.tar.xz glibc-azanella/mseal.zip |
elf: Add support for GNU_PROPERTY_NO_MEMORY_SEAL azanella/mseal
The GNU_PROPERTY_NO_MEMORY_SEAL is a GNU property per module instructing the glibc not to seal the object PT_LOAD. It can be used for any reason the modules require to seal not to be enabled (i.e., on Firefox hack to bypass the dynamic loader and enable DT_RELR on older glibc [1]). In this case, it is up to the module to apply memory sealing itself. The sealing is applied by default, and it is always enforced with glibc.rtld.seal=2. Checked on aarch64-linux-gnu, x86_64-linux-gnu, and powerpc64le-linux-gnu. [1] https://glandium.org/blog/?p=4297
Diffstat (limited to 'string')
-rw-r--r-- | string/strerrorname_np.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/string/strerrorname_np.c b/string/strerrorname_np.c index e0e22fa79e..042cea381c 100644 --- a/string/strerrorname_np.c +++ b/string/strerrorname_np.c @@ -17,7 +17,6 @@ <https://www.gnu.org/licenses/>. */ #include <stdio.h> -#include <string.h> const char * strerrorname_np (int errnum) |