syscall.sh / s390x / fchmodat

fchmodat

change permissions of a file

sys_fchmodat(int dfd, const char *filename, umode_t mode)
number299 (0x12b)
abicommon
entry pointsys_fchmodat
sinceLinux 4.16
man pagefchmodat(2)
sourceelixir.bootlin.com

Registers

registervalue
r1299, the syscall number
r2int dfd
r3const char *filename
r4umode_t mode
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/fchmodat