inotify_rm_watch on ia32

remove an existing watch from an inotify instance

sys_inotify_rm_watch(int fd, __s32 wd)
number293 (0x125)
abii386
kconfigCONFIG_INOTIFY_USER
familyinotify
entry pointsys_inotify_rm_watch
sinceLinux 3.3 or earlier (3.3 is the first release scanned for ia32)
man pageinotify_rm_watch(2)
sourceelixir.bootlin.com

Registers

registervalue
eax293, the syscall number
ebxint fd
ecx__s32 wd
eaxthe return value

Then run int 0x80 to enter the kernel.

This compat ABI is only available when the kernel is built with CONFIG_IA32_EMULATION.

Same syscall on other architectures

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