syscall.sh / sh / inotify_rm_watch

inotify_rm_watch

remove an existing watch from an inotify instance

sys_inotify_rm_watch(int fd, __s32 wd)
number292 (0x124)
abicommon
entry pointsys_inotify_rm_watch
sinceLinux 5.0
man pageinotify_rm_watch(2)
sourceelixir.bootlin.com

Registers

registervalue
r3292, the syscall number
r4int fd
r5__s32 wd
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/inotify_rm_watch