syscall.sh / microblaze / fcntl64

fcntl64

manipulate file descriptor

sys_fcntl64(unsigned int fd, unsigned int cmd, unsigned long arg)
number221 (0xdd)
abicommon
entry pointsys_fcntl64
sinceLinux 5.0
man pagefcntl64(2)
sourceelixir.bootlin.com

Registers

registervalue
r12221, the syscall number
r5unsigned int fd
r6unsigned int cmd
r7unsigned long arg
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/fcntl64