syscall.sh / x86 / lstat

lstat

get file status

sys_newlstat(const char *filename, struct stat *statbuf)
number107 (0x6b)
abii386
entry pointsys_newlstat
sinceLinux 3.3
man pagelstat(2)
sourceelixir.bootlin.com

Registers

registervalue
eax107, the syscall number
ebxconst char *filename
ecxstruct stat *statbuf
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/lstat