inotify_rm_watch on arm64

remove an existing watch from an inotify instance

sys_inotify_rm_watch(int fd, __s32 wd)
number28 (0x1c)
abicommon
kconfigCONFIG_INOTIFY_USER
familyinotify see the whole family on arm64
entry pointsys_inotify_rm_watch
sinceLinux 3.7 or earlier (3.7 is the first release scanned for arm64)
man pageinotify_rm_watch(2)
sourceelixir.bootlin.com

Registers

registervalue
x828, the syscall number
x0int fd
x1__s32 wd
x0the 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/arm64/inotify_rm_watch