fanotify_mark on arm64

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
kconfigCONFIG_FANOTIFY
familyfanotify see the whole family on arm64
entry pointsys_fanotify_mark
sinceLinux 3.7 or earlier (3.7 is the first release scanned for arm64)
man pagefanotify_mark(2)
sourceelixir.bootlin.com

Registers

registervalue
x8263, the syscall number
x0int fanotify_fd
x1unsigned int flags
x2u64 mask
x3int fd
x4const char *pathname
x0the return value

Then run svc #0 to enter the kernel.

Same syscall on other architectures

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