syscall.sh / arm / stat

stat

get file status

sys_newstat(const char *filename, struct stat *statbuf)
number106 (0x6a)
abicommon
entry pointsys_newstat
sinceLinux 4.10
man pagestat(2)
sourceelixir.bootlin.com

Registers

registervalue
r7106, the syscall number
r0const char *filename
r1struct stat *statbuf
r0the 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/arm/stat