summaryrefslogtreecommitdiff
path: root/Kernel/API/Syscall.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2021-08-06 15:27:03 +0300
committerAndreas Kling <kling@serenityos.org>2021-08-06 23:36:12 +0200
commitad419a669d1fd71781680246463d9018814997e2 (patch)
treede0e0cd051adb7f7883e0312b71788945ec2e78b /Kernel/API/Syscall.h
parentefeb01e35fccc6ecc0ce0d6c33102dd5379ddf0f (diff)
downloadserenity-ad419a669d1fd71781680246463d9018814997e2.zip
Kernel: Disable big process lock for sys$sysconf
This syscall only reads constant kernel globals, and as such does not need to hold the big lock.
Diffstat (limited to 'Kernel/API/Syscall.h')
-rw-r--r--Kernel/API/Syscall.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h
index 0ee2f8a6dc..50f75daa06 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -181,7 +181,7 @@ enum class NeedsBigProcessLock {
S(ptrace, NeedsBigProcessLock::Yes) \
S(sendfd, NeedsBigProcessLock::Yes) \
S(recvfd, NeedsBigProcessLock::Yes) \
- S(sysconf, NeedsBigProcessLock::Yes) \
+ S(sysconf, NeedsBigProcessLock::No) \
S(set_process_name, NeedsBigProcessLock::Yes) \
S(disown, NeedsBigProcessLock::Yes) \
S(adjtime, NeedsBigProcessLock::Yes) \