syscall.sh / microblaze / fchmodat

fchmodat

change permissions of a file

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

Registers

registervalue
r12306, the syscall number
r5int dfd
r6const char *filename
r7umode_t mode
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

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