1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-02 23:22:07 +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:
Idan Horowitz 2021-08-06 14:43:02 +03:00 committed by Andreas Kling
parent b1f4f6ee15
commit 48325e2959
2 changed files with 2 additions and 2 deletions

View file

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