flistxattr on riscv64
list extended attribute names
sys_flistxattr(int fd, char *list, size_t size)
| number | 13 (0xd) |
|---|---|
| abi | common |
| entry point | sys_flistxattr |
| since | Linux 4.15 or earlier (4.15 is the first release scanned for riscv64) |
| man page | flistxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a7 | 13, the syscall number |
a0 | int fd |
a1 | char *list |
a2 | size_t size |
a0 | the return value |
Then run ecall to enter the kernel.
Same syscall on other architectures
- x64 196
- x86 234
- arm64 13
- arm 234
- ia32 234
- x32 1073742020
- loongarch64 13
- ppc64 217
- ppc 217
- s390x 232
- mips64 5188
- mipsn32 6188
- mipso32 4232
- alpha 390
- arc 13
- blackfin 234, removed in 4.17
- cris 234, removed in 4.17
- csky 13
- frv 234, removed in 4.17
- hexagon 13
- ia64 1225, removed in 6.7
- m32r 234, removed in 4.17
- m68k 231
- metag 13, removed in 4.17
- microblaze 234
- mn10300 234, removed in 4.17
- nds32 13, removed in 5.18
- nios2 13
- openrisc 13
- parisc 246
- score 13, removed in 4.17
- sh 234
- sparc 180
- sparc64 180
- tilegx 13, removed in 4.17
- tilepro 13, removed in 4.17
- xtensa 78
Get this as JSON: https://api.syscall.sh/v2/syscalls/riscv64/flistxattr