syscall.sh / x64 / fanotify_mark
fanotify_mark
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 | 301 (0x12d) |
|---|---|
| abi | common |
| entry point | sys_fanotify_mark |
| since | Linux 3.3 |
| man page | fanotify_mark(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 301, the syscall number |
rdi | int fanotify_fd |
rsi | unsigned int flags |
rdx | u64 mask |
r10 | int fd |
r8 | const char *pathname |
rax | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x86 339
- arm64 263
- arm 368
- riscv64 263
- x32 1073742125
- loongarch64 263
- ppc64 324
- ppc 324
- s390x 333
- mips64 5296
- mipsn32 6301
- mipso32 4337
- alpha 495
- arc 263
- csky 263
- hexagon 263
- m68k 338
- microblaze 369
- nios2 263
- openrisc 263
- parisc 323
- sh 338
- sparc 330
- sparc64 330
- xtensa 321
Get this as JSON: https://api.syscall.sh/v2/syscalls/x64/fanotify_mark