syscall.sh / mips64 / getxattr
getxattr
retrieve an extended attribute value
sys_getxattr(const char *path, const char *name, void *value, size_t size)
| number | 5183 (0x143f) |
|---|---|
| abi | n64 |
| entry point | sys_getxattr |
| since | Linux 5.0 |
| man page | getxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
v0 | 5183, the syscall number |
a0 | const char *path |
a1 | const char *name |
a2 | void *value |
a3 | size_t size |
v0 | the return value |
Then run syscall to enter the kernel.
Same syscall on other architectures
- x64 191
- x86 229
- arm64 8
- arm 229
- riscv64 8
- x32 1073742015
- loongarch64 8
- ppc64 212
- ppc 212
- s390x 227
- mipsn32 6183
- mipso32 4227
- alpha 385
- arc 8
- csky 8
- hexagon 8
- m68k 226
- microblaze 229
- nios2 8
- openrisc 8
- parisc 241
- sh 229
- sparc 172
- sparc64 172
- xtensa 69
Get this as JSON: https://api.syscall.sh/v2/syscalls/mips64/getxattr