From c2372242b17531224b024916072098a92878d411 Mon Sep 17 00:00:00 2001 From: Idan Horowitz Date: Sat, 9 Apr 2022 23:01:05 +0300 Subject: Kernel: Remove big lock from sys$getsockopt 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 7613ef0821..ac18931dbd 100644 --- a/Kernel/API/Syscall.h +++ b/Kernel/API/Syscall.h @@ -99,7 +99,7 @@ enum class NeedsBigProcessLock { S(getrusage, NeedsBigProcessLock::Yes) \ S(getsid, NeedsBigProcessLock::Yes) \ S(getsockname, NeedsBigProcessLock::Yes) \ - S(getsockopt, NeedsBigProcessLock::Yes) \ + S(getsockopt, NeedsBigProcessLock::No) \ S(gettid, NeedsBigProcessLock::No) \ S(getuid, NeedsBigProcessLock::Yes) \ S(inode_watcher_add_watch, NeedsBigProcessLock::Yes) \ -- cgit v1.2.3