mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:47:34 +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:
parent
5514f41f25
commit
2116fb5be9
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue