syscall.sh / alpha / lstat

lstat

get file status

sys_newlstat(const char *filename, struct stat *statbuf)
number68 (0x44)
abicommon
entry pointsys_newlstat
sinceLinux 5.0
man pagelstat(2)
sourceelixir.bootlin.com

Registers

registervalue
v068, the syscall number
a0const char *filename
a1struct stat *statbuf
v0the return value

Then run callsys to enter the kernel.

Same syscall on other architectures

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