1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 19:17:44 +00:00

Add getppid().

This commit is contained in:
Andreas Kling 2018-11-06 13:33:06 +01:00
parent 3024167cbd
commit 77fe8e8363
6 changed files with 22 additions and 8 deletions

View file

@ -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: