syscall.sh / xtensa / umask

umask

set file mode creation mask

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

Registers

registervalue
a258, the syscall number
a6int mask
a2the return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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