1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 06:27:35 +00:00

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
parent d32ed28df4
commit c9cd5ff6bb

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();
}