fanotify_mark on score
add, remove, or modify an fanotify mark on a filesystem object
sys_fanotify_mark(int fanotify_fd, unsigned int flags, u64 mask, int fd, const char *pathname)
| number | 263 (0x107) |
|---|---|
| abi | common |
| kconfig | CONFIG_FANOTIFY |
| family | fanotify see the whole family on score |
| entry point | sys_fanotify_mark |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | fanotify_mark(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 263, the syscall number |
r4 | int fanotify_fd |
r5 | unsigned int flags |
r6 | u64 mask |
r7 | int fd |
r8 | const char *pathname |
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 301
- x86 339
- arm64 263
- arm 368
- riscv64 263
- ia32 339
- x32 1073742125
- loongarch64 263
- ppc64 324
- ppc 324
- s390x 333
- mips64 5296
- mipsn32 6301
- mipso32 4337
- alpha 495
- arc 263
- blackfin 372, removed in 4.17
- cris 343, removed in 4.17
- csky 263
- hexagon 263
- ia64 1324, removed in 6.7
- m68k 338
- metag 263, removed in 4.17
- microblaze 369
- nds32 263, removed in 5.18
- nios2 263
- openrisc 263
- parisc 323
- sh 338
- sparc 330
- sparc64 330
- tilegx 263, removed in 4.17
- tilepro 263, removed in 4.17
- xtensa 321
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/fanotify_mark?kernel=all