syscall.sh / x32 / fchmod

fchmod

change permissions of a file

sys_fchmod(unsigned int fd, umode_t mode)
number1073741915 (0x4000005b)
abicommon
entry pointsys_fchmod
sinceLinux 3.4
man pagefchmod(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741915, the syscall number
rdiunsigned int fd
rsiumode_t mode
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

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