summaryrefslogtreecommitdiff
path: root/fs/binfmt_elf.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2022-02-23 19:34:31 -0800
committerKees Cook <keescook@chromium.org>2022-03-01 16:16:28 -0800
commit4f0bfdfd8323e5b461fc1042143a1097dba9fced (patch)
treeb7a89c1feb34fcdce18ab6d7b1451700b646cdbc /fs/binfmt_elf.c
parent7dc6ea7c56bd76ab88d09504a90879479e3851ef (diff)
ELF: Properly redefine PT_GNU_* in terms of PT_LOOS
The PT_GNU_* program header types are actually offsets from PT_LOOS, so redefine them as such, reorder them, and add the missing PT_GNU_RELRO. Cc: Eric Biederman <ebiederm@xmission.com> Cc: Peter Collingbourne <pcc@google.com> Cc: Catalin Marinas <catalin.marinas@arm.com> Cc: Dave Martin <Dave.Martin@arm.com> Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'fs/binfmt_elf.c')
0 files changed, 0 insertions, 0 deletions