syscall.sh / s390x / umask

umask

set file mode creation mask

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

Registers

registervalue
r160, the syscall number
r2int mask
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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