syscall.sh / openrisc / 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)
number27 (0x1b)
abicommon
entry pointsys_inotify_add_watch
sinceLinux 3.7
man pageinotify_add_watch(2)
sourceelixir.bootlin.com

Registers

registervalue
r1127, the syscall number
r3int fd
r4const char *path
r5u32 mask
r11the return value

Then run l.sys 1 to enter the kernel.

Same syscall on other architectures

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