summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/mknod.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Syscalls/mknod.cpp')
-rw-r--r--Kernel/Syscalls/mknod.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Syscalls/mknod.cpp b/Kernel/Syscalls/mknod.cpp
index a1625a7789..7fb599dc47 100644
--- a/Kernel/Syscalls/mknod.cpp
+++ b/Kernel/Syscalls/mknod.cpp
@@ -12,6 +12,7 @@ namespace Kernel {
KResultOr<FlatPtr> Process::sys$mknod(Userspace<const Syscall::SC_mknod_params*> user_params)
{
+ VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this)
REQUIRE_PROMISE(dpath);
Syscall::SC_mknod_params params;
if (!copy_from_user(&params, user_params))