1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-30 18:38:12 +00:00

Kernel: Remove pledge syscall from the big lock

This already does all its dangerous work inside
`with_mutable_protected_data()`.
This commit is contained in:
Sam Atkins 2023-02-03 17:49:06 +00:00 committed by Andreas Kling
parent ce78394ae8
commit cc558d95f0
2 changed files with 2 additions and 2 deletions

View file

@ -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) \