fsetxattr on score
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 or earlier (3.7 is the first release scanned for score) |
| man page | fsetxattr(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 7, the syscall number |
r4 | int fd |
r5 | const char *name |
r6 | const void *value |
r7 | size_t size |
r8 | int flags |
r4 | the return value |
Then run syscall to enter the kernel.
r7 is the error flag and r4 then holds the positive error number.
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
- metag 7, removed in 4.17
- microblaze 228
- mn10300 228, removed in 4.17
- nds32 7, removed in 5.18
- nios2 7
- openrisc 7
- parisc 240
- 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/score/fsetxattr?kernel=all