syscall.sh / microblaze / lstat64
lstat64
get file status
sys_lstat64(const char *filename, struct stat64 *statbuf)
| number | 196 (0xc4) |
|---|---|
| abi | common |
| entry point | sys_lstat64 |
| since | Linux 5.0 |
| man page | lstat64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r12 | 196, the syscall number |
r5 | const char *filename |
r6 | struct stat64 *statbuf |
r3 | the return value |
Then run brki r14,8 to enter the kernel.
Same syscall on other architectures
- x86 196
- arm 196
- ppc 196
- mipso32 4214
- alpha 426
- m68k 196
- parisc 198
- sh 196
- sparc 132
- sparc64 132
- xtensa 50
Get this as JSON: https://api.syscall.sh/v2/syscalls/microblaze/lstat64