mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-14 13:32:23 +00:00
Kernel: Return ENOSYS if an invalid syscall number is requested.
This commit is contained in:
parent
6917c42140
commit
9806a23f83
Notes:
sideshowbarker
2024-07-19 13:58:52 +09:00
Author: https://github.com/awesomekling
Commit: 9806a23f83
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ static dword handle(RegisterDump& regs, dword function, dword arg1, dword arg2,
|
|||
return current->process().sys$getpeername((int)arg1, (sockaddr*)arg2, (socklen_t*)arg3);
|
||||
default:
|
||||
kprintf("<%u> int0x82: Unknown function %u requested {%x, %x, %x}\n", current->process().pid(), function, arg1, arg2, arg3);
|
||||
break;
|
||||
return -ENOSYS;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue