summaryrefslogtreecommitdiff
path: root/Kernel
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-02-08 22:31:03 +0100
committerAndreas Kling <kling@serenityos.org>2021-02-08 22:31:03 +0100
commit4b7b92c20139f59b6b15efdb6dff0e716c7f3e76 (patch)
treea52e43be28a852ec4406e07a6153c5248ce79430 /Kernel
parent4cd2c475a8beebb43869fee1ba94dc9a82aa01f3 (diff)
downloadserenity-4b7b92c20139f59b6b15efdb6dff0e716c7f3e76.zip
Kernel: Remove two unused fields from sys$execve's LoadResult
Diffstat (limited to 'Kernel')
-rw-r--r--Kernel/Syscalls/execve.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/Kernel/Syscalls/execve.cpp b/Kernel/Syscalls/execve.cpp
index 4d55e5c8bc..0c4f5bfa8d 100644
--- a/Kernel/Syscalls/execve.cpp
+++ b/Kernel/Syscalls/execve.cpp
@@ -52,8 +52,6 @@ struct LoadResult {
FlatPtr load_base { 0 };
FlatPtr entry_eip { 0 };
size_t size { 0 };
- FlatPtr program_headers { 0 };
- size_t num_program_headers { 0 };
WeakPtr<Region> tls_region;
size_t tls_size { 0 };
size_t tls_alignment { 0 };
@@ -324,8 +322,6 @@ static KResultOr<LoadResult> load_elf_object(NonnullOwnPtr<Space> new_space, Fil
load_base_address,
elf_image.entry().offset(load_offset).get(),
executable_size,
- VirtualAddress(elf_image.program_header_table_offset()).offset(load_offset).get(),
- elf_image.program_header_count(),
AK::try_make_weak_ptr(master_tls_region),
master_tls_size,
master_tls_alignment,