summaryrefslogtreecommitdiff
path: root/Kernel/API
diff options
context:
space:
mode:
authorSam Atkins <atkinssj@serenityos.org>2023-02-03 17:49:06 +0000
committerAndreas Kling <kling@serenityos.org>2023-02-06 20:36:53 +0100
commitcc558d95f0c5fc673b7cc4cf1caa3b279211cf66 (patch)
treef7b1305f65635361fb8cf68270f3d0698564091e /Kernel/API
parentce78394ae83a7fe21371f1dbb37eb3a363fe2cdb (diff)
downloadserenity-cc558d95f0c5fc673b7cc4cf1caa3b279211cf66.zip
Kernel: Remove pledge syscall from the big lock
This already does all its dangerous work inside `with_mutable_protected_data()`.
Diffstat (limited to 'Kernel/API')
-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 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) \