syscall.sh / x32 / lstat

lstat

get file status

sys_newlstat(const char *filename, struct stat *statbuf)
number1073741830 (0x40000006)
abicommon
entry pointsys_newlstat
sinceLinux 3.4
man pagelstat(2)
sourceelixir.bootlin.com

Registers

registervalue
rax1073741830, the syscall number
rdiconst char *filename
rsistruct stat *statbuf
raxthe return value

Then run syscall to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/lstat