From cc558d95f0c5fc673b7cc4cf1caa3b279211cf66 Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Fri, 3 Feb 2023 17:49:06 +0000 Subject: Kernel: Remove pledge syscall from the big lock This already does all its dangerous work inside `with_mutable_protected_data()`. --- Kernel/API/Syscall.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Kernel/API') diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h index 5dcf3b9322..22dd954d53 100644 --- a/Kernel/API/Syscall.h +++ b/Kernel/API/Syscall.h @@ -133,7 +133,7 @@ enum class NeedsBigProcessLock { S(perf_event, NeedsBigProcessLock::Yes) \ S(perf_register_string, NeedsBigProcessLock::Yes) \ S(pipe, NeedsBigProcessLock::No) \ - S(pledge, NeedsBigProcessLock::Yes) \ + S(pledge, NeedsBigProcessLock::No) \ S(poll, NeedsBigProcessLock::Yes) \ S(posix_fallocate, NeedsBigProcessLock::No) \ S(prctl, NeedsBigProcessLock::Yes) \ -- cgit v1.2.3