1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 08:28:11 +00:00

Kernel: Make sys$unveil() not take the big process lock

The unveil syscall uses the UnveilData struct which is already
SpinlockProtected, so there is no need to take the big lock.
This commit is contained in:
Samuel Bowman 2022-08-16 22:52:58 -04:00 committed by Andreas Kling
parent 146903a3b5
commit b5a2f59320
2 changed files with 2 additions and 2 deletions

View file

@ -186,7 +186,7 @@ enum class NeedsBigProcessLock {
S(umount, NeedsBigProcessLock::Yes) \
S(uname, NeedsBigProcessLock::No) \
S(unlink, NeedsBigProcessLock::No) \
S(unveil, NeedsBigProcessLock::Yes) \
S(unveil, NeedsBigProcessLock::No) \
S(utime, NeedsBigProcessLock::Yes) \
S(utimensat, NeedsBigProcessLock::Yes) \
S(waitid, NeedsBigProcessLock::Yes) \