LibELF: Make syscall region exceptions for UE and libkeyboard.so

These two are currently making some syscalls so we'll have to make
exceptions for them until we can clean them up.
This commit is contained in:
Andreas Kling 2021-02-02 20:08:04 +01:00
parent de149dc7fa
commit 603d36c599
Notes: sideshowbarker 2024-07-18 22:37:24 +09:00

View File

@ -217,7 +217,7 @@ static NonnullRefPtr<DynamicLoader> commit_elf(const String& name)
ASSERT(object);
if (name.is_one_of("libc.so", "libpthread.so")) {
if (name.is_one_of("libc.so", "libpthread.so", "libkeyboard.so", "/bin/UserspaceEmulator")) {
if (syscall(SC_msyscall, object->base_address().as_ptr())) {
ASSERT_NOT_REACHED();
}