From 5c064d3e8e575b2397270cb635c7c93ed265fb5a Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Sat, 9 Apr 2022 23:08:20 +0300 Subject: Kernel: Remove big lock from sys$rmdir This syscall doesn't access any unprotected shared data. --- Kernel/API/Syscall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/API/Syscall.h') 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) \ -- cgit v1.2.3