syscall.sh / parisc / 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)
number270 (0x10e)
abicommon
entry pointsys_inotify_add_watch
sinceLinux 5.0
man pageinotify_add_watch(2)
sourceelixir.bootlin.com

Registers

registervalue
r20270, the syscall number
r26int fd
r25const char *path
r24u32 mask
r28the return value

Then run ble 0x100(%sr2, %r0) to enter the kernel.

Same syscall on other architectures

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