syscall.sh / sparc / fchmod

fchmod

change permissions of a file

sys_fchmod(unsigned int fd, umode_t mode)
number124 (0x7c)
abicommon
entry pointsys_fchmod
sinceLinux 5.0
man pagefchmod(2)
sourceelixir.bootlin.com

Registers

registervalue
g1124, the syscall number
o0unsigned int fd
o1umode_t mode
o0the return value

Then run t 0x10 to enter the kernel.

Same syscall on other architectures

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