mbox

[0/3] Remove excessive p_align check on PT_LOAD segments

Message ID 20211221215438.3084053-1-hjl.tools@gmail.com
Headers

Message

H.J. Lu Dec. 21, 2021, 9:54 p.m. UTC
  Remove excessive p_align check on PT_LOAD segments and add 2 tests based
on the patches for BZ #28676:

https://patchwork.sourceware.org/project/glibc/list/?series=5942

H.J. Lu (3):
  elf: Remove excessive p_align check on PT_LOAD segments [BZ #28688]
  elf: Add a test for PT_LOAD segments with p_align == 1 [BZ #28688]
  elf: Add a test for PT_LOAD segments with invalid p_align [BZ #28688]

 elf/Makefile               | 26 ++++++++++++++++++++++++++
 elf/dl-load.c              |  9 ++-------
 elf/tst-p_align2.c         | 27 +++++++++++++++++++++++++++
 elf/tst-p_align3.c         | 27 +++++++++++++++++++++++++++
 elf/tst-p_align3.sh        | 26 ++++++++++++++++++++++++++
 elf/tst-p_alignmod2-edit.c | 27 +++++++++++++++++++++++++++
 elf/tst-p_alignmod3.c      | 22 ++++++++++++++++++++++
 7 files changed, 157 insertions(+), 7 deletions(-)
 create mode 100644 elf/tst-p_align2.c
 create mode 100644 elf/tst-p_align3.c
 create mode 100755 elf/tst-p_align3.sh
 create mode 100644 elf/tst-p_alignmod2-edit.c
 create mode 100644 elf/tst-p_alignmod3.c