syscall.sh / m68k / oldlstat
oldlstat
get file status
sys_lstat(const char *filename, struct __old_kernel_stat *statbuf)
| number | 84 (0x54) |
|---|---|
| abi | common |
| entry point | sys_lstat |
| since | Linux 5.0 |
| man page | oldlstat(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
d0 | 84, the syscall number |
d1 | const char *filename |
d2 | struct __old_kernel_stat *statbuf |
d0 | the return value |
Then run trap #0 to enter the kernel.
Same syscall on other architectures
Get this as JSON: https://api.syscall.sh/v2/syscalls/m68k/oldlstat