summaryrefslogtreecommitdiff
path: root/Kernel/API/Syscall.h
diff options
context:
space:
mode:
authorIdan Horowitz <idan.horowitz@gmail.com>2022-04-09 23:08:20 +0300
committerAndreas Kling <kling@serenityos.org>2022-04-09 23:46:02 +0200
commit5c064d3e8e575b2397270cb635c7c93ed265fb5a (patch)
tree1dc70ab30cd5608e54f46bbd3b6eb833f418c217 /Kernel/API/Syscall.h
parentd4ce43cf45ccff0b3ece11cedbe3f3a072f6aa81 (diff)
downloadserenity-5c064d3e8e575b2397270cb635c7c93ed265fb5a.zip
Kernel: Remove big lock from sys$rmdir
This syscall doesn't access any unprotected shared data.
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 9284e22647..cb91e67441 100644
--- a/Kernel/API/Syscall.h
+++ b/Kernel/API/Syscall.h
@@ -143,7 +143,7 @@ enum class NeedsBigProcessLock {
S(recvfd, NeedsBigProcessLock::No) \
S(recvmsg, NeedsBigProcessLock::Yes) \
S(rename, NeedsBigProcessLock::Yes) \
- S(rmdir, NeedsBigProcessLock::Yes) \
+ S(rmdir, NeedsBigProcessLock::No) \
S(sched_getparam, NeedsBigProcessLock::No) \
S(sched_setparam, NeedsBigProcessLock::No) \
S(sendfd, NeedsBigProcessLock::No) \