syscall.sh / parisc / statx
statx
get file status (extended)
sys_statx(int dfd, const char *path, unsigned flags, unsigned mask, struct statx *buffer)
| number | 349 (0x15d) |
|---|---|
| abi | common |
| entry point | sys_statx |
| since | Linux 5.0 |
| man page | statx(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r20 | 349, the syscall number |
r26 | int dfd |
r25 | const char *path |
r24 | unsigned flags |
r23 | unsigned mask |
r22 | struct statx *buffer |
r28 | the return value |
Then run ble 0x100(%sr2, %r0) to enter the kernel.
Same syscall on other architectures
- x64 332
- x86 383
- arm64 291
- arm 397
- riscv64 291
- x32 1073742156
- loongarch64 291
- ppc64 383
- ppc 383
- s390x 379
- mips64 5326
- mipsn32 6330
- mipso32 4366
- alpha 522
- arc 291
- csky 291
- hexagon 291
- m68k 379
- microblaze 398
- nios2 291
- openrisc 291
- sh 383
- sparc 360
- sparc64 360
- xtensa 351
Get this as JSON: https://api.syscall.sh/v2/syscalls/parisc/statx