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)
number272 (0x110)
abii386
entry pointsys_ia32_fadvise64_64
sinceLinux 3.3
man pagefadvise64_64(2)
sourceelixir.bootlin.com

Registers

registervalue
eax272, the syscall number
ebxint fd
ecxloff_t offset
edxloff_t len
esiint advice
eaxthe return value

Then run int 0x80 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/fadvise64_64