pub fn sys_umask(mask: u32) -> isize
Expand description

umask() sets the calling process’s file mode creation mask (umask) to mask & 0777 (i.e., only the file permission bits of mask are used), and returns the previous value of the mask.

WARNING

In current implementation, umask is always 0. This syscall won’t do anything.