diff options
Diffstat (limited to 'Kernel/Process.cpp')
-rw-r--r-- | Kernel/Process.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Kernel/Process.cpp b/Kernel/Process.cpp index e207870781..7ecddc2ae6 100644 --- a/Kernel/Process.cpp +++ b/Kernel/Process.cpp @@ -1320,6 +1320,13 @@ pid_t Process::sys$getppid() return m_ppid; } +mode_t Process::sys$umask(mode_t mask) +{ + auto old_mask = m_umask; + m_umask = mask; + return old_mask; +} + pid_t Process::sys$waitpid(pid_t waitee, int* wstatus, int options) { if (wstatus) |