inotify_rm_watch on riscv64

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 riscv64
entry pointsys_inotify_rm_watch
sinceLinux 4.15 or earlier (4.15 is the first release scanned for riscv64)
man pageinotify_rm_watch(2)
sourceelixir.bootlin.com

Registers

registervalue
a728, the syscall number
a0int fd
a1__s32 wd
a0the return value

Then run ecall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/inotify_rm_watch