diff options
| author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2024-12-06 14:37:56 -0300 |
|---|---|---|
| committer | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2025-03-07 08:46:49 -0300 |
| commit | 815beee47c1c42e1b7bd5a1ce7b6a34c2013d3dc (patch) | |
| tree | f3d76eb25b1d2db31216b101b17db01c9f9f6242 /malloc/alloc_buffer_alloc_array.c | |
| parent | 7fec24327c3aae29bdbc2d82c186b0d06bf33c9a (diff) | |
| download | glibc-815beee47c1c42e1b7bd5a1ce7b6a34c2013d3dc.tar.xz glibc-815beee47c1c42e1b7bd5a1ce7b6a34c2013d3dc.zip | |
linux: Add memory sealing tests
The new tests added are:
1. tst-dl_mseal: check memory sealing is applied for statically
linked binaries.
2. tst-dl_mseal-static: memory sealing is not applied if there is no
gnu attribute for statically linked binaries.
3. tst-dl-mseal: check memory sealing works as expected on multiples places:
- On the binary itself.
- On a LD_PRELOAD library.
- On a depedency modules (tst-dl_mseal-mod-{1,2}.so).
- On a audit modules (tst-dl_mseal-auditmod.so).
- On a dlopen dependency opened with RTLD_NODELETE).
- On the libgcc_s Aopened by thread unwind.
4. tst-dl-mseal-noseal: check if mixing object with and without
memory sealing works as expected.
Checked on x86_64-linux-gnu and aarch64-linux-gnu.
Diffstat (limited to 'malloc/alloc_buffer_alloc_array.c')
0 files changed, 0 insertions, 0 deletions
