mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-31 06:28:22 +00:00
syscalls: umask
This commit is contained in:
@@ -470,6 +470,8 @@ void sched_runinit(){
|
||||
fd_release(stdinfd);
|
||||
fd_release(stdoutfd);
|
||||
fd_release(stderrfd);
|
||||
|
||||
proc->umask = 022;
|
||||
|
||||
timer_add(&arch_getcls()->schedreq, THREAD_QUANTUM, true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user