statx on score
get file status (extended)
sys_statx(int dfd, const char *path, unsigned flags, unsigned mask, struct statx *buffer)
| number | 291 (0x123) |
|---|---|
| abi | common |
| entry point | sys_statx |
| since | Linux 4.11 |
| man page | statx(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 291, the syscall number |
r4 | int dfd |
r5 | const char *path |
r6 | unsigned flags |
r7 | unsigned mask |
r8 | struct statx *buffer |
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
- x64 332
- x86 383
- arm64 291
- arm 397
- riscv64 291
- ia32 383
- x32 1073742156
- loongarch64 291
- ppc64 383
- ppc 383
- s390x 379
- mips64 5326
- mipsn32 6330
- mipso32 4366
- alpha 522
- arc 291
- csky 291
- hexagon 291
- ia64 1350, removed in 6.7
- m68k 379
- metag 291, removed in 4.17
- microblaze 398
- nds32 291, removed in 5.18
- nios2 291
- openrisc 291
- parisc 349
- sh 383
- sparc 360
- sparc64 360
- tilegx 291, removed in 4.17
- tilepro 291, removed in 4.17
- xtensa 351
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/statx?kernel=all