syscall.sh / openrisc / umask

umask

set file mode creation mask

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

Registers

registervalue
r11166, the syscall number
r3int mask
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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