syscall.sh / sparc64 / lstat

lstat

get file status

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

Registers

registervalue
g140, the syscall number
o0const char *filename
o1struct stat *statbuf
o0the return value

Then run t 0x6d to enter the kernel.

Same syscall on other architectures

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