Skip to content
Commit 2b4bfbe0 authored by Akira Kawata's avatar Akira Kawata Committed by Kees Cook
Browse files

fs/binfmt_elf: Refactor load_elf_binary function



I delete load_addr because it is not used anymore. And I rename
load_addr_set to first_pt_load because it is used only to capture the
first iteration of the loop.

Signed-off-by: default avatarAkira Kawata <akirakawata1@gmail.com>
Acked-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarKees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220127124014.338760-3-akirakawata1@gmail.com
parent 0da1d500
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment