syscall.sh / arm / inotify_add_watch

inotify_add_watch

add a watch to an initialized inotify instance

sys_inotify_add_watch(int fd, const char *path, u32 mask)
number317 (0x13d)
abicommon
entry pointsys_inotify_add_watch
sinceLinux 4.10
man pageinotify_add_watch(2)
sourceelixir.bootlin.com

Registers

registervalue
r7317, the syscall number
r0int fd
r1const char *path
r2u32 mask
r0the 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/arm/inotify_add_watch