syscall.sh / sparc64 / stat

stat

get file status

sys_newstat(const char *filename, struct stat *statbuf)
number38 (0x26)
abicommon
entry pointsys_newstat
sinceLinux 5.0
man pagestat(2)
sourceelixir.bootlin.com

Registers

registervalue
g138, 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/stat