mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 04:27:43 +00:00
Add getppid().
This commit is contained in:
parent
3024167cbd
commit
77fe8e8363
6 changed files with 22 additions and 8 deletions
|
@ -87,6 +87,8 @@ static DWORD handle(RegisterDump& regs, DWORD function, DWORD arg1, DWORD arg2,
|
|||
return current->sys$getgid();
|
||||
case Syscall::SC_getpid:
|
||||
return current->sys$getpid();
|
||||
case Syscall::SC_getppid:
|
||||
return current->sys$getppid();
|
||||
case Syscall::SC_waitpid:
|
||||
return current->sys$waitpid((pid_t)arg1, (int*)arg2, (int)arg3);
|
||||
case Syscall::SC_mmap:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue