syscall.sh / arm64 / fsetxattr
fsetxattr
set an extended attribute value
sys_fsetxattr(int fd, const char *name, const void *value, size_t size, int flags)
| number | 7 (0x7) |
|---|---|
| abi | common |
| entry point | sys_fsetxattr |
| since | Linux 3.7 |
| man page | fsetxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
x8 | 7, the syscall number |
x0 | int fd |
x1 | const char *name |
x2 | const void *value |
x3 | size_t size |
x4 | int flags |
x0 | the return value |
Then run svc #0 to enter the kernel.
Same syscall on other architectures
- x64 190
- x86 228
- arm 228
- riscv64 7
- x32 1073742014
- loongarch64 7
- ppc64 211
- ppc 211
- s390x 226
- mips64 5182
- mipsn32 6182
- mipso32 4226
- alpha 384
- arc 7
- csky 7
- hexagon 7
- m68k 225
- microblaze 228
- nios2 7
- openrisc 7
- parisc 240
- sh 228
- sparc 171
- sparc64 171
- xtensa 76
Get this as JSON: https://api.syscall.sh/v2/syscalls/arm64/fsetxattr