Commit 8ed2ef2
committed
binfmt_elf: elf_bss no longer used by load_elf_binary()
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: Eric Biederman <ebiederm@xmission.com>
Tested-by: Pedro Falcato <pedro.falcato@gmail.com>
Signed-off-by: Sebastian Ott <sebott@redhat.com>
Link: https://lore.kernel.org/r/20230929032435.2391507-2-keescook@chromium.org
Signed-off-by: Kees Cook <keescook@chromium.org>1 parent 585a018 commit 8ed2ef2
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
854 | 854 | | |
855 | 855 | | |
856 | 856 | | |
857 | | - | |
| 857 | + | |
858 | 858 | | |
859 | 859 | | |
860 | 860 | | |
| |||
1045 | 1045 | | |
1046 | 1046 | | |
1047 | 1047 | | |
1048 | | - | |
1049 | 1048 | | |
1050 | 1049 | | |
1051 | 1050 | | |
| |||
1208 | 1207 | | |
1209 | 1208 | | |
1210 | 1209 | | |
1211 | | - | |
1212 | | - | |
1213 | 1210 | | |
1214 | 1211 | | |
1215 | 1212 | | |
| |||
1221 | 1218 | | |
1222 | 1219 | | |
1223 | 1220 | | |
1224 | | - | |
1225 | 1221 | | |
1226 | 1222 | | |
1227 | 1223 | | |
| |||
0 commit comments