syscall.sh / ppc64 / fchmodat

fchmodat

change permissions of a file

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

Registers

registervalue
r0297, the syscall number
r3int dfd
r4const char *filename
r5umode_t mode
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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