summaryrefslogtreecommitdiff
path: root/fs/binfmt_elf.c
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2023-05-18 11:52:35 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2023-05-18 11:52:35 +1000
commit873552f7f0b95520ce3b3c51a42a65742c62df33 (patch)
tree8ca011fd6b9140c7726b8320ad660554f98c3d08 /fs/binfmt_elf.c
parent5bdbd4878c6a1fcc4b21a03ffa686ad4df641ed4 (diff)
parent60592fb6b67c653beaa2e7acad9a9d7aa0b71dff (diff)
downloadlinux-next-873552f7f0b95520ce3b3c51a42a65742c62df33.tar.gz
Merge branch 'for-next/execve' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git
Diffstat (limited to 'fs/binfmt_elf.c')
-rw-r--r--fs/binfmt_elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c
index 1033fbdfdbec..44b4c42ab8e8 100644
--- a/fs/binfmt_elf.c
+++ b/fs/binfmt_elf.c
@@ -1517,7 +1517,7 @@ static void fill_elf_note_phdr(struct elf_phdr *phdr, int sz, loff_t offset)
phdr->p_filesz = sz;
phdr->p_memsz = 0;
phdr->p_flags = 0;
- phdr->p_align = 0;
+ phdr->p_align = 4;
}
static void fill_note(struct memelfnote *note, const char *name, int type,