listxattr on metag
list extended attribute names
sys_listxattr(const char *path, char *list, size_t size)
| number | 11 (0xb) |
|---|---|
| abi | common |
| entry point | sys_listxattr |
| since | Linux 3.9 or earlier (3.9 is the first release scanned for metag) |
| man page | listxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 11, the syscall number |
D1Ar1 | const char *path |
D0Ar2 | char *list |
D1Ar3 | size_t size |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
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 194
- x86 232
- arm64 11
- arm 232
- riscv64 11
- ia32 232
- x32 1073742018
- loongarch64 11
- ppc64 215
- ppc 215
- s390x 230
- mips64 5186
- mipsn32 6186
- mipso32 4230
- alpha 388
- arc 11
- blackfin 232, removed in 4.17
- cris 232, removed in 4.17
- csky 11
- frv 232, removed in 4.17
- hexagon 11
- ia64 1223, removed in 6.7
- m32r 232, removed in 4.17
- m68k 229
- microblaze 232
- mn10300 232, removed in 4.17
- nds32 11, removed in 5.18
- nios2 11
- openrisc 11
- parisc 244
- score 11, removed in 4.17
- sh 232
- sparc 178
- sparc64 178
- tilegx 11, removed in 4.17
- tilepro 11, removed in 4.17
- xtensa 70
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/listxattr?kernel=all