syscall.sh / mips64 / 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)
| number | 5244 (0x147c) |
|---|---|
| abi | n64 |
| entry point | sys_inotify_add_watch |
| since | Linux 5.0 |
| man page | inotify_add_watch(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 5244, the syscall number |
a0 | int fd |
a1 | const char *path |
a2 | u32 mask |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 254
- x86 292
- arm64 27
- arm 317
- riscv64 27
- x32 1073742078
- loongarch64 27
- ppc64 276
- ppc 276
- s390x 285
- mipsn32 6248
- mipso32 4285
- alpha 445
- arc 27
- csky 27
- hexagon 27
- m68k 285
- microblaze 292
- nios2 27
- openrisc 27
- parisc 270
- sh 291
- sparc 152
- sparc64 152
- xtensa 277
Get this as JSON: https://api.syscall.sh/v2/syscalls/mips64/inotify_add_watch