mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 15:45:25 +00: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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user