LibELF: Remove dynamic loader syscall exception for libkeyboard.so

LibKeyboard no longer needs to make syscalls so remove the exception
we were making for it. :^)
This commit is contained in:
Andreas Kling 2021-02-03 23:15:53 +01:00
commit c9cd5ff6bb
Notes: sideshowbarker 2024-07-18 22:36:10 +09:00

View file

@ -216,7 +216,7 @@ static NonnullRefPtr<DynamicLoader> commit_elf(const String& name)
auto object = loader->load_stage_3(RTLD_GLOBAL | RTLD_LAZY, g_total_tls_size);
ASSERT(object);
if (name.is_one_of("libc.so", "libpthread.so", "libkeyboard.so", "/bin/UserspaceEmulator")) {
if (name.is_one_of("libc.so", "libpthread.so", "/bin/UserspaceEmulator")) {
if (syscall(SC_msyscall, object->base_address().as_ptr())) {
ASSERT_NOT_REACHED();
}