syscall.sh / sparc64 / fchmodat

fchmodat

change permissions of a file

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

Registers

registervalue
g1295, the syscall number
o0int dfd
o1const char *filename
o2umode_t mode
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

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