syscall.sh / xtensa / listxattr
listxattr
list extended attribute names
sys_listxattr(const char *path, char *list, size_t size)
| number | 70 (0x46) |
|---|---|
| abi | common |
| entry point | sys_listxattr |
| since | Linux 5.0 |
| man page | listxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
a2 | 70, the syscall number |
a6 | const char *path |
a3 | char *list |
a4 | size_t size |
a2 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 194
- x86 232
- arm64 11
- arm 232
- riscv64 11
- x32 1073742018
- loongarch64 11
- ppc64 215
- ppc 215
- s390x 230
- mips64 5186
- mipsn32 6186
- mipso32 4230
- alpha 388
- arc 11
- csky 11
- hexagon 11
- m68k 229
- microblaze 232
- nios2 11
- openrisc 11
- parisc 244
- sh 232
- sparc 178
- sparc64 178
Get this as JSON: https://api.syscall.sh/v2/syscalls/xtensa/listxattr