fsetxattr on metag
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.9 or earlier (3.9 is the first release scanned for metag) |
| man page | fsetxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
D1Re0 | 7, the syscall number |
D1Ar1 | int fd |
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 190
- x86 228
- arm64 7
- arm 228
- riscv64 7
- ia32 228
- x32 1073742014
- loongarch64 7
- ppc64 211
- ppc 211
- s390x 226
- mips64 5182
- mipsn32 6182
- mipso32 4226
- alpha 384
- arc 7
- blackfin 228, removed in 4.17
- cris 228, removed in 4.17
- csky 7
- frv 228, removed in 4.17
- hexagon 7
- ia64 1219, removed in 6.7
- m32r 228, removed in 4.17
- m68k 225
- microblaze 228
- mn10300 228, removed in 4.17
- nds32 7, removed in 5.18
- nios2 7
- openrisc 7
- parisc 240
- score 7, removed in 4.17
- sh 228
- sparc 171
- sparc64 171
- tilegx 7, removed in 4.17
- tilepro 7, removed in 4.17
- xtensa 76
Get this as JSON: https://api.syscall.sh/v2/syscalls/metag/fsetxattr?kernel=all