mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:08:10 +00:00
Kernel: Make sys$disown not require the big lock
This syscall had a TOCTOU where it checked the peer's PPID before locking the protected data (where the PPID is stored). After closing the race window, we can mark the syscall as not needing the big lock.
This commit is contained in:
parent
5759ea19fb
commit
6132193bd4
2 changed files with 7 additions and 6 deletions
|
@ -66,7 +66,7 @@ enum class NeedsBigProcessLock {
|
|||
S(create_thread, NeedsBigProcessLock::Yes) \
|
||||
S(dbgputstr, NeedsBigProcessLock::No) \
|
||||
S(detach_thread, NeedsBigProcessLock::Yes) \
|
||||
S(disown, NeedsBigProcessLock::Yes) \
|
||||
S(disown, NeedsBigProcessLock::No) \
|
||||
S(dump_backtrace, NeedsBigProcessLock::No) \
|
||||
S(dup2, NeedsBigProcessLock::No) \
|
||||
S(emuctl, NeedsBigProcessLock::No) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue