syscall.sh / nios2 / umask

umask

set file mode creation mask

sys_umask(int mask)
number166 (0xa6)
abicommon
entry pointsys_umask
sinceLinux 3.19
man pageumask(2)
sourceelixir.bootlin.com

Registers

registervalue
r2166, the syscall number
r4int mask
r2the return value

Then run trap to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/nios2/umask