lsetxattr on tilepro
set an extended attribute value
sys_lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags)
| number | 6 (0x6) |
|---|---|
| abi | common |
| entry point | sys_lsetxattr |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for tilepro) |
| man page | lsetxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r10 | 6, 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 swint1 to enter the kernel.
The kernel uses r1 to signal an error for ordinary calls.
Fast atomic calls use negative numbers and have different register behavior.
This architecture was removed from the Linux kernel in Linux 4.17. The newest release with a syscall table here is Linux 4.16. The other removed architectures live on the historical architectures page.
Same syscall on other architectures
- x64 189
- x86 227
- arm64 6
- arm 227
- riscv64 6
- ia32 227
- x32 1073742013
- loongarch64 6
- ppc64 210
- ppc 210
- s390x 225
- mips64 5181
- mipsn32 6181
- mipso32 4225
- alpha 383
- arc 6
- blackfin 227, removed in 4.17
- cris 227, removed in 4.17
- csky 6
- frv 227, removed in 4.17
- hexagon 6
- ia64 1218, removed in 6.7
- m32r 227, removed in 4.17
- m68k 224
- metag 6, removed in 4.17
- microblaze 227
- mn10300 227, removed in 4.17
- nds32 6, removed in 5.18
- nios2 6
- openrisc 6
- parisc 239
- score 6, removed in 4.17
- sh 227
- sparc 170
- sparc64 170
- tilegx 6, removed in 4.17
- xtensa 72
Get this as JSON: https://api.syscall.sh/v2/syscalls/tilepro/lsetxattr?kernel=all