diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-11-06 13:33:06 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-11-06 13:33:57 +0100 |
commit | 77fe8e8363140d600c4e9cfa4b5f6212a2c71234 (patch) | |
tree | 428a04e402de4a65fb1e535afdc7671bb426398d /Kernel/Syscall.cpp | |
parent | 3024167cbd6ea560c02b4afc3dc341098fd9337f (diff) | |
download | serenity-77fe8e8363140d600c4e9cfa4b5f6212a2c71234.zip |
Add getppid().
Diffstat (limited to 'Kernel/Syscall.cpp')
-rw-r--r-- | Kernel/Syscall.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/Syscall.cpp b/Kernel/Syscall.cpp index db0fc9aecf..83ffab9631 100644 --- a/Kernel/Syscall.cpp +++ b/Kernel/Syscall.cpp @@ -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: |