Commit 17070537 authored by Kees Cook's avatar Kees Cook Committed by Greg Kroah-Hartman
Browse files

binfmt_elf: elf_bss no longer used by load_elf_binary()



[ Upstream commit 8ed2ef21 ]

With the BSS handled generically via the new filesz/memsz mismatch
handling logic in elf_load(), elf_bss no longer needs to be tracked.
Drop the variable.

Cc: Eric Biederman <ebiederm@xmission.com>
Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
Cc: linux-fsdevel@vger.kernel.org
Cc: linux-mm@kvack.org
Suggested-by: default avatarEric Biederman <ebiederm@xmission.com>
Tested-by: default avatarPedro Falcato <pedro.falcato@gmail.com>
Signed-off-by: default avatarSebastian Ott <sebott@redhat.com>
Link: https://lore.kernel.org/r/20230929032435.2391507-2-keescook@chromium.org


Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Stable-dep-of: 11854fe2 ("binfmt_elf: Move brk for static PIE even if ASLR disabled")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 86811e87
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment