mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:38:10 +00:00
Add getgid() and getpid() syscalls. Prep for LibC.
This commit is contained in:
parent
bae59609e3
commit
85bcf2ed0f
5 changed files with 34 additions and 13 deletions
|
@ -77,6 +77,10 @@ DWORD handle(DWORD function, DWORD arg1, DWORD arg2, DWORD arg3)
|
|||
return current->sys$kill((pid_t)arg1, (int)arg2);
|
||||
case Syscall::PosixGetuid:
|
||||
return current->sys$getuid();
|
||||
case Syscall::PosixGetgid:
|
||||
return current->sys$getgid();
|
||||
case Syscall::PosixGetpid:
|
||||
return current->sys$getpid();
|
||||
case Syscall::PosixExit:
|
||||
current->sys$exit((int)arg1);
|
||||
ASSERT_NOT_REACHED();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue