syscall.sh / x32 / 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)
number1073742125 (0x4000012d)
abicommon
entry pointsys_fanotify_mark
sinceLinux 3.4
man pagefanotify_mark(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073742125, the syscall number
rdiint fanotify_fd
rsiunsigned int flags
rdxu64 mask
r10int fd
r8const char *pathname
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/fanotify_mark