syscall.sh / x32 / listxattr
listxattr
list extended attribute names
sys_listxattr(const char *path, char *list, size_t size)
| number | 1073742018 (0x400000c2) |
|---|---|
| abi | common |
| entry point | sys_listxattr |
| since | Linux 3.4 |
| man page | listxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
rax | 1073742018, the syscall number |
rdi | const char *path |
rsi | char *list |
rdx | size_t size |
rax | 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
- 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
- xtensa 70
Get this as JSON: https://api.syscall.sh/v2/syscalls/x32/listxattr