mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:58:11 +00:00
Kernel: Make sys$getsid not require the big lock
Reorganize the code slightly to avoid creating a TOCTOU bug, then mark the syscall as not needing the big lock anymore.
This commit is contained in:
parent
1382439267
commit
41f5598516
2 changed files with 8 additions and 7 deletions
|
@ -104,7 +104,7 @@ enum class NeedsBigProcessLock {
|
|||
S(getresgid, NeedsBigProcessLock::No) \
|
||||
S(getresuid, NeedsBigProcessLock::No) \
|
||||
S(getrusage, NeedsBigProcessLock::Yes) \
|
||||
S(getsid, NeedsBigProcessLock::Yes) \
|
||||
S(getsid, NeedsBigProcessLock::No) \
|
||||
S(getsockname, NeedsBigProcessLock::Yes) \
|
||||
S(getsockopt, NeedsBigProcessLock::No) \
|
||||
S(gettid, NeedsBigProcessLock::No) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue