syscall.sh / ppc / oldstat

oldstat

get file status

sys_stat(const char *filename, struct __old_kernel_stat *statbuf)
number18 (0x12)
abi32
entry pointsys_stat
sinceLinux 5.0
man pageoldstat(2)
sourceelixir.bootlin.com

Registers

registervalue
r018, the syscall number
r3const char *filename
r4struct __old_kernel_stat *statbuf
r3the return value

Then run sc to enter the kernel.

Same syscall on other architectures

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