lstat64 on score
get file status
sys_lstat64(const char *filename, struct stat64 *statbuf)
| number | 1039 (0x40f) |
|---|---|
| abi | common |
| entry point | sys_lstat64 |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | lstat64(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 1039, the syscall number |
r4 | const char *filename |
r5 | struct stat64 *statbuf |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x86 196
- arm 196
- ia32 196
- ppc 196
- mipso32 4214
- alpha 426
- blackfin 196, removed in 4.17
- cris 196, removed in 4.17
- frv 196, removed in 4.17
- m32r 196, removed in 4.17
- m68k 196
- microblaze 196
- mn10300 196, removed in 4.17
- parisc 198
- sh 196
- sparc 132
- sparc64 132
- xtensa 50
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/lstat64?kernel=all