mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-26 09:30:24 +00:00
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:
parent
de149dc7fa
commit
603d36c599
Notes:
sideshowbarker
2024-07-18 22:37:24 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/603d36c5994
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue