syscall.sh / riscv64 / fanotify_mark

fanotify_mark

add, remove, or modify an fanotify mark on a filesystem object

sys_fanotify_mark(int fanotify_fd, unsigned int flags, u64 mask, int fd, const char *pathname)
number263 (0x107)
abicommon
entry pointsys_fanotify_mark
sinceLinux 4.15
man pagefanotify_mark(2)
sourceelixir.bootlin.com

Registers

registervalue
a7263, the syscall number
a0int fanotify_fd
a1unsigned int flags
a2u64 mask
a3int fd
a4const char *pathname
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/fanotify_mark