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 /debug/vsprintf_chk.c | |
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 'debug/vsprintf_chk.c')
0 files changed, 0 insertions, 0 deletions