inotify_add_watch on cris
add a watch to an initialized inotify instance
sys_inotify_add_watch(int fd, const char *path, u32 mask)
| number | 292 (0x124) |
|---|---|
| abi | common |
| kconfig | CONFIG_INOTIFY_USER |
| family | inotify see the whole family on cris |
| entry point | sys_inotify_add_watch |
| since | Linux 3.3 or earlier (3.3 is the first release scanned for cris) |
| man page | inotify_add_watch(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r9 | 292, the syscall number |
r10 | int fd |
r11 | const char *path |
r12 | u32 mask |
r10 | the return value |
Then run break 13 to enter the kernel.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 254
- x86 292
- arm64 27
- arm 317
- riscv64 27
- ia32 292
- x32 1073742078
- loongarch64 27
- ppc64 276
- ppc 276
- s390x 285
- mips64 5244
- mipsn32 6248
- mipso32 4285
- alpha 445
- arc 27
- blackfin 292, removed in 4.17
- csky 27
- frv 292, removed in 4.17
- hexagon 27
- ia64 1278, removed in 6.7
- m32r 292, removed in 4.17
- m68k 285
- metag 27, removed in 4.17
- microblaze 292
- mn10300 293, removed in 4.17
- nds32 27, removed in 5.18
- nios2 27
- openrisc 27
- parisc 270
- score 27, removed in 4.17
- sh 291
- sparc 152
- sparc64 152
- tilegx 27, removed in 4.17
- tilepro 27, removed in 4.17
- xtensa 277
Get this as JSON: https://api.syscall.sh/v2/syscalls/cris/inotify_add_watch?kernel=all