summaryrefslogtreecommitdiff
path: root/Kernel/Syscalls/uname.cpp
diff options
context:
space:
mode:
authorBrian Gianforcaro <bgianf@serenityos.org>2021-07-18 11:27:41 -0700
committerGunnar Beutner <gunnar@beutner.name>2021-07-20 03:21:14 +0200
commitbfd4635274d59a297ad823b9e188548d05d477ec (patch)
treec24f2a4132a8c0816b6ce876da86573c655daeda /Kernel/Syscalls/uname.cpp
parent10ce896d4fff1fda789c860f8d6594c2dd5f4020 (diff)
downloadserenity-bfd4635274d59a297ad823b9e188548d05d477ec.zip
Kernel: Disable big process lock for sys$uname()
Diffstat (limited to 'Kernel/Syscalls/uname.cpp')
-rw-r--r--Kernel/Syscalls/uname.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/Syscalls/uname.cpp b/Kernel/Syscalls/uname.cpp
index e127b15531..6519d96080 100644
--- a/Kernel/Syscalls/uname.cpp
+++ b/Kernel/Syscalls/uname.cpp
@@ -10,7 +10,7 @@ namespace Kernel {
KResultOr<FlatPtr> Process::sys$uname(Userspace<utsname*> user_buf)
{
- VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this)
+ VERIFY_NO_PROCESS_BIG_LOCK(this)
extern String* g_hostname;
extern Mutex* g_hostname_lock;