syscall.sh / s390x / fchmodat2

fchmodat2

sys_fchmodat2(int dfd, const char *filename, umode_t mode, unsigned int flags)
number452 (0x1c4)
abicommon
entry pointsys_fchmodat2
sinceLinux 6.6
sourceelixir.bootlin.com

Registers

registervalue
r1452, the syscall number
r2int dfd
r3const char *filename
r4umode_t mode
r5unsigned int flags
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/fchmodat2