summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/ioctl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Kernel/Syscalls/ioctl.cpp')
-rw-r--r--Kernel/Syscalls/ioctl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Kernel/Syscalls/ioctl.cpp b/Kernel/Syscalls/ioctl.cpp
index 4c668904e2..5a2b740b08 100644
--- a/Kernel/Syscalls/ioctl.cpp
+++ b/Kernel/Syscalls/ioctl.cpp
@@ -12,6 +12,7 @@ namespace Kernel {
KResultOr<FlatPtr> Process::sys$ioctl(int fd, unsigned request, FlatPtr arg)
{
+ VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this)
auto description = fds().file_description(fd);
if (!description)
return EBADF;