syscall.sh / x86 / 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)
number339 (0x153)
abii386
entry pointsys_fanotify_mark
sinceLinux 3.3
man pagefanotify_mark(2)
sourceelixir.bootlin.com

Registers

registervalue
eax339, the syscall number
ebxint fanotify_fd
ecxunsigned int flags
edxu64 mask
esiint fd
ediconst char *pathname
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

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