syscall.sh / x32 / 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)
number1073742078 (0x400000fe)
abicommon
entry pointsys_inotify_add_watch
sinceLinux 3.4
man pageinotify_add_watch(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073742078, the syscall number
rdiint fd
rsiconst char *path
rdxu32 mask
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/inotify_add_watch