]> sourceware.org Git - glibc.git/commit
elf: Remove excessive p_align check on PT_LOAD segments [BZ #28688]
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 21 Dec 2021 20:35:47 +0000 (12:35 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 22 Dec 2021 13:12:30 +0000 (05:12 -0800)
commit163f625cf9becbb82dfec63a29e566324129c0cd
treea095c1741a3db5b0a9e82a262d8c68047ac5526d
parentd3e4f5a1014db09ff1c62c6506f92cba469e193d
elf: Remove excessive p_align check on PT_LOAD segments [BZ #28688]

p_align does not have to be a multiple of the page size.  Only PT_LOAD
segment layout should be aligned to the page size.

1: Remove p_align check against the page size.
2. Use the page size, instead of p_align, to check PT_LOAD segment layout.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
elf/dl-load.c
This page took 0.043258 seconds and 5 git commands to generate.