mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-15 23:09:05 +00:00
Kernel: Disable big process lock for sys$getrandom
This syscall doesn't touch any intra-process shared resources and already holds the global kernel RNG lock so there's no reason to hold the big lock.
This commit is contained in:
parent
b1f4f6ee15
commit
48325e2959
Notes:
sideshowbarker
2024-07-18 07:23:43 +09:00
Author: https://github.com/IdanHo
Commit: 48325e2959
Pull-request: https://github.com/SerenityOS/serenity/pull/9236
Reviewed-by: https://github.com/tomuta ✅
2 changed files with 2 additions and 2 deletions
|
@ -154,7 +154,7 @@ enum class NeedsBigProcessLock {
|
|||
S(realpath, NeedsBigProcessLock::Yes) \
|
||||
S(get_process_name, NeedsBigProcessLock::Yes) \
|
||||
S(fchdir, NeedsBigProcessLock::Yes) \
|
||||
S(getrandom, NeedsBigProcessLock::Yes) \
|
||||
S(getrandom, NeedsBigProcessLock::No) \
|
||||
S(getkeymap, NeedsBigProcessLock::Yes) \
|
||||
S(setkeymap, NeedsBigProcessLock::Yes) \
|
||||
S(clock_gettime, NeedsBigProcessLock::Yes) \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue