diff options
| author | Jakob Kaivo <jkk@ung.org> | 2020-08-13 11:13:14 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2020-08-13 11:13:14 -0400 |
| commit | ea6629608487ef59074636ca32bd80bcd40368ff (patch) | |
| tree | a73b7c4dc5eb190191aade3754e2cc6ca722a60a /src | |
| parent | f7b930d5218b09c7fcd61436dc815ca4987f9d7b (diff) | |
implement as syscall
Diffstat (limited to 'src')
| -rw-r--r-- | src/sys/stat/umask.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sys/stat/umask.c b/src/sys/stat/umask.c index ca038bad..601f67f2 100644 --- a/src/sys/stat/umask.c +++ b/src/sys/stat/umask.c @@ -1,9 +1,10 @@ #include "sys/types.h" #include <sys/stat.h> +#include "../../_syscall.h" mode_t umask(mode_t cmask) { - return cmask; + SYSCALL(umask, mode_t, -1, cmask, 0, 0, 0, 0, 0); } /* |
