syscall.sh / microblaze / lstat

lstat

get file status

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

Registers

registervalue
r12107, the syscall number
r5const char *filename
r6struct stat *statbuf
r3the return value

Then run brki r14,8 to enter the kernel.

Same syscall on other architectures

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