syscall.sh / x86 / fallocate

fallocate

manipulate file space

sys_ia32_fallocate(int fd, int mode, loff_t offset, loff_t len)
number324 (0x144)
abii386
entry pointsys_ia32_fallocate
sinceLinux 3.3
man pagefallocate(2)
sourceelixir.bootlin.com

Registers

registervalue
eax324, the syscall number
ebxint fd
ecxint mode
edxloff_t offset
esiloff_t len
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/fallocate