syscall.sh / m68k / fchmodat

fchmodat

change permissions of a file

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

Registers

registervalue
d0299, the syscall number
d1int dfd
d2const char *filename
d3umode_t mode
d0the return value

Then run trap #0 to enter the kernel.

Same syscall on other architectures

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