lsetxattr on metag
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.9 or earlier (3.9 is the first release scanned for metag) |
| man page | lsetxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 6, the syscall number |
D1Ar1 | const char *path |
D0Ar2 | const char *name |
D1Ar3 | const void *value |
D0Ar4 | size_t size |
D1Ar5 | int flags |
D0Re0 | the return value |
Then run SWITCH #0x440001 to enter the kernel.
Values wider than one register are packed into consecutive arguments.
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
- 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
- tilepro 6, removed in 4.17
- xtensa 72
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/lsetxattr?kernel=all