sync on score
commit filesystem caches to disk
sys_sync(void)
| number | 81 (0x51) |
|---|---|
| abi | common |
| entry point | sys_sync |
| since | Linux 3.7 or earlier (3.7 is the first release scanned for score) |
| man page | sync(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
r27 | 81, the syscall number |
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 162
- x86 36
- arm64 81
- arm 36
- riscv64 81
- ia32 36
- x32 1073741986
- loongarch64 81
- ppc64 36
- ppc 36
- s390x 36
- mips64 5157
- mipsn32 6157
- mipso32 4036
- alpha 36
- arc 81
- blackfin 36, removed in 4.17
- cris 36, removed in 4.17
- csky 81
- frv 36, removed in 4.17
- hexagon 81
- ia64 1050, removed in 6.7
- m32r 36, removed in 4.17
- m68k 36
- metag 81, removed in 4.17
- microblaze 36
- mn10300 36, removed in 4.17
- nds32 81, removed in 5.18
- nios2 81
- openrisc 81
- parisc 36
- sh 36
- sparc 36
- sparc64 36
- tilegx 81, removed in 4.17
- tilepro 81, removed in 4.17
- xtensa 178
Get this as JSON: https://api.syscall.sh/v2/syscalls/score/sync?kernel=all