syscall.sh / s390x / lstat

lstat

get file status

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

Registers

registervalue
r1107, the syscall number
r2const char *filename
r3struct stat *statbuf
r2the return value

Then run svc 0 to enter the kernel.

Same syscall on other architectures

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