mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 11:42:38 +03:00
UserspaceEmulator: Ignore perf_event and perf_register_string syscalls
We can just fail these with ENOSYS pending a full implementation.
This commit is contained in:
parent
5514f41f25
commit
2116fb5be9
Notes:
sideshowbarker
2024-07-18 04:18:39 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/2116fb5be97
@ -248,6 +248,8 @@ u32 Emulator::virt_syscall(u32 function, u32 arg1, u32 arg2, u32 arg3)
|
||||
case SC_futex:
|
||||
return virt$futex(arg1);
|
||||
case SC_map_time_page:
|
||||
case SC_perf_register_string:
|
||||
case SC_perf_event:
|
||||
return -ENOSYS;
|
||||
default:
|
||||
reportln("\n=={}== \033[31;1mUnimplemented syscall: {}\033[0m, {:p}", getpid(), Syscall::to_string((Syscall::Function)function), function);
|
||||
|
Loading…
Reference in New Issue
Block a user