syscalls: umask

This commit is contained in:
Matheus
2023-07-06 21:17:54 -03:00
parent e29d75580a
commit 300e77e36d
9 changed files with 41 additions and 12 deletions
+2
View File
@@ -67,6 +67,8 @@ typedef struct proc_t {
#include <arch/cpu.h>
#define UMASK(mode) ((mode) & ~_cpu()->thread->proc->umask)
extern proc_t *sched_initproc;
void sched_init();