diff options
Diffstat (limited to 'Kernel/Syscalls/mmap.cpp')
-rw-r--r-- | Kernel/Syscalls/mmap.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Syscalls/mmap.cpp b/Kernel/Syscalls/mmap.cpp index b38521176a..16cba676ee 100644 --- a/Kernel/Syscalls/mmap.cpp +++ b/Kernel/Syscalls/mmap.cpp @@ -606,6 +606,7 @@ ErrorOr<FlatPtr> Process::sys$annotate_mapping(Userspace<void*> address, int fla ErrorOr<FlatPtr> Process::sys$msync(Userspace<void*> address, size_t size, int flags) { + VERIFY_NO_PROCESS_BIG_LOCK(this); if ((flags & (MS_SYNC | MS_ASYNC | MS_INVALIDATE)) != flags) return EINVAL; |