syscall.sh / x86 / fadvise64_64
fadvise64_64
predeclare an access pattern for file data
sys_ia32_fadvise64_64(int fd, loff_t offset, loff_t len, int advice)
| number | 272 (0x110) |
|---|---|
| abi | i386 |
| entry point | sys_ia32_fadvise64_64 |
| since | Linux 3.3 |
| man page | fadvise64_64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 272, the syscall number |
ebx | int fd |
ecx | loff_t offset |
edx | loff_t len |
esi | int advice |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- ppc 254
- arc 223
- csky 223
- hexagon 223
- m68k 267
- microblaze 272
- nios2 223
- openrisc 223
- parisc 236
- sh 272
- sparc 210
- sparc64 210
- xtensa 63
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/fadvise64_64