diff options
Diffstat (limited to 'Kernel/Syscalls/sync.cpp')
-rw-r--r-- | Kernel/Syscalls/sync.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Syscalls/sync.cpp b/Kernel/Syscalls/sync.cpp index fb07fa6d55..22174843f0 100644 --- a/Kernel/Syscalls/sync.cpp +++ b/Kernel/Syscalls/sync.cpp @@ -11,6 +11,7 @@ namespace Kernel { KResultOr<FlatPtr> Process::sys$sync() { + VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this) REQUIRE_PROMISE(stdio); VirtualFileSystem::sync(); return 0; |