syscall.sh / sparc / umask

umask

set file mode creation mask

sys_umask(int mask)
number60 (0x3c)
abicommon
entry pointsys_umask
sinceLinux 5.0
man pageumask(2)
sourceelixir.bootlin.com

Registers

registervalue
g160, the syscall number
o0int mask
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

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