setxattr on nds32
set an extended attribute value
sys_setxattr(const char *path, const char *name, const void *value, size_t size, int flags)
| number | 5 (0x5) |
|---|---|
| abi | common |
| entry point | sys_setxattr |
| since | Linux 4.17 or earlier (4.17 is the first release scanned for nds32) |
| man page | setxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r15 | 5, the syscall number |
r0 | const char *path |
r1 | const char *name |
r2 | const void *value |
r3 | size_t size |
r4 | int flags |
r0 | the return value |
Then run syscall to enter the kernel.
This architecture was removed from the Linux kernel in Linux 5.18. The newest release with a syscall table here is Linux 5.17. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 188
- x86 226
- arm64 5
- arm 226
- riscv64 5
- ia32 226
- x32 1073742012
- loongarch64 5
- ppc64 209
- ppc 209
- s390x 224
- mips64 5180
- mipsn32 6180
- mipso32 4224
- alpha 382
- arc 5
- blackfin 226, removed in 4.17
- cris 226, removed in 4.17
- csky 5
- frv 226, removed in 4.17
- hexagon 5
- ia64 1217, removed in 6.7
- m32r 226, removed in 4.17
- m68k 223
- metag 5, removed in 4.17
- microblaze 226
- mn10300 226, removed in 4.17
- nios2 5
- openrisc 5
- parisc 238
- score 5, removed in 4.17
- sh 226
- sparc 169
- sparc64 169
- tilegx 5, removed in 4.17
- tilepro 5, removed in 4.17
- xtensa 68
Get this as JSON: https://api.syscall.sh/v2/syscalls/nds32/setxattr?kernel=all