fanotify_mark on metag
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 metag |
| entry point | sys_fanotify_mark |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | fanotify_mark(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 263, the syscall number |
D1Ar1 | int fanotify_fd |
D0Ar2 | unsigned int flags |
D1Ar3 | u64 mask |
D0Ar4 | int fd |
D1Ar5 | const char *pathname |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
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
- microblaze 369
- nds32 263, removed in 5.18
- nios2 263
- openrisc 263
- parisc 323
- score 263, removed in 4.17
- 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/metag/fanotify_mark?kernel=all