syscall.sh / sh / fanotify_init

fanotify_init

create and initialize fanotify group

sys_fanotify_init(unsigned int flags, unsigned int event_f_flags)
number337 (0x151)
abicommon
entry pointsys_fanotify_init
sinceLinux 5.0
man pagefanotify_init(2)
sourceelixir.bootlin.com

Registers

registervalue
r3337, the syscall number
r4unsigned int flags
r5unsigned int event_f_flags
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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