fanotify_init on score
create and initialize fanotify group
sys_fanotify_init(unsigned int flags, unsigned int event_f_flags)
| number | 262 (0x106) |
|---|---|
| abi | common |
| kconfig | CONFIG_FANOTIFY |
| family | fanotify see the whole family on score |
| entry point | sys_fanotify_init |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | fanotify_init(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 262, the syscall number |
r4 | unsigned int flags |
r5 | unsigned int event_f_flags |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
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 300
- x86 338
- arm64 262
- arm 367
- riscv64 262
- ia32 338
- x32 1073742124
- loongarch64 262
- ppc64 323
- ppc 323
- s390x 332
- mips64 5295
- mipsn32 6300
- mipso32 4336
- alpha 494
- arc 262
- blackfin 371, removed in 4.17
- cris 342, removed in 4.17
- csky 262
- hexagon 262
- ia64 1323, removed in 6.7
- m68k 337
- metag 262, removed in 4.17
- microblaze 368
- nds32 262, removed in 5.18
- nios2 262
- openrisc 262
- parisc 322
- sh 337
- sparc 329
- sparc64 329
- tilegx 262, removed in 4.17
- tilepro 262, removed in 4.17
- xtensa 320
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/fanotify_init?kernel=all