syscall.sh / sh / sync

sync

commit filesystem caches to disk

sys_sync(void)
number36 (0x24)
abicommon
entry pointsys_sync
sinceLinux 5.0
man pagesync(2)
sourceelixir.bootlin.com

Registers

registervalue
r336, the syscall number
r0the return value

Then run trapa #31 to enter the kernel.

Same syscall on other architectures

Get this as JSON: https://api.syscall.sh/v2/syscalls/sh/sync