syscall.sh / sh / lstat64

lstat64

get file status

sys_lstat64(const char *filename, struct stat64 *statbuf)
number196 (0xc4)
abicommon
entry pointsys_lstat64
sinceLinux 5.0
man pagelstat64(2)
sourceelixir.bootlin.com

Registers

registervalue
r3196, the syscall number
r4const char *filename
r5struct stat64 *statbuf
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

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