summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r--Kernel/Process.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h
index 7558b8bfaf..64deb9a44a 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -104,6 +104,7 @@ public:
gid_t sys$getegid();
pid_t sys$getpid();
pid_t sys$getppid();
+ mode_t sys$umask(mode_t);
int sys$open(const char* path, int options);
int sys$close(int fd);
ssize_t sys$read(int fd, void* outbuf, size_t nread);
@@ -235,6 +236,7 @@ private:
LinearAddress m_return_from_signal_trampoline;
pid_t m_ppid { 0 };
+ mode_t m_umask { 022 };
static void notify_waiters(pid_t waitee, int exit_status, int signal);