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