Kernel: Implement SYS_SYNC and add sync executable to userspace

You can (and have to) manually sync disk after writes to it.
This commit is contained in:
Bananymous
2023-09-11 01:26:27 +03:00
parent eee0537053
commit 63dc2b6aa6
14 changed files with 84 additions and 3 deletions

View File

@@ -54,6 +54,7 @@ __BEGIN_DECLS
#define SYS_NANOSLEEP 47
#define SYS_FSTATAT 48
#define SYS_STAT 49 // stat/lstat
#define SYS_SYNC 50
__END_DECLS