]> git.ipfire.org Git - thirdparty/glibc.git/commit
elf: Add a test for PT_LOAD segments with invalid p_align [BZ #28688]
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 21 Dec 2021 21:42:28 +0000 (13:42 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 24 Jan 2022 14:37:36 +0000 (06:37 -0800)
commitd8d94863ef125a392b929732b37e07dc927fbcd1
tree24b3c5add86c3bc0eb2afeb9f9fc401d87bf252f
parente4c9268d154ff11c070eba4791d33bd3a5875bca
elf: Add a test for PT_LOAD segments with invalid p_align [BZ #28688]

Build tst-p_alignmod3.so with 256 byte page size and verify that it is
rejected with a proper error message.

Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
elf/Makefile
elf/tst-p_align3.c [new file with mode: 0644]
elf/tst-p_align3.sh [new file with mode: 0755]
elf/tst-p_alignmod3.c [new file with mode: 0644]