syscall.sh / sh / 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
r3452, the syscall number
r4int dfd
r5const char *filename
r6umode_t mode
r7unsigned int flags
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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