diff options
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/API/Syscall.h | 2 | ||||
-rw-r--r-- | Kernel/Syscalls/resource.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h index bd0f4a48c3..c2f1d6d456 100644 --- a/Kernel/API/Syscall.h +++ b/Kernel/API/Syscall.h @@ -103,7 +103,7 @@ enum class NeedsBigProcessLock { S(getrandom, NeedsBigProcessLock::No) \ S(getresgid, NeedsBigProcessLock::No) \ S(getresuid, NeedsBigProcessLock::No) \ - S(getrusage, NeedsBigProcessLock::Yes) \ + S(getrusage, NeedsBigProcessLock::No) \ S(getsid, NeedsBigProcessLock::No) \ S(getsockname, NeedsBigProcessLock::Yes) \ S(getsockopt, NeedsBigProcessLock::No) \ diff --git a/Kernel/Syscalls/resource.cpp b/Kernel/Syscalls/resource.cpp index 664f21b06d..b7ab629632 100644 --- a/Kernel/Syscalls/resource.cpp +++ b/Kernel/Syscalls/resource.cpp @@ -11,7 +11,7 @@ namespace Kernel { ErrorOr<FlatPtr> Process::sys$getrusage(int who, Userspace<rusage*> user_usage) { - VERIFY_PROCESS_BIG_LOCK_ACQUIRED(this); + VERIFY_NO_PROCESS_BIG_LOCK(this); rusage usage {}; |