diff options
author | Andreas Kling <kling@serenityos.org> | 2022-03-07 16:34:14 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-07 16:35:23 +0100 |
commit | baa6ff56497e583d706a2999134f6468f2f89b29 (patch) | |
tree | 6007d6fdfd7da60062037b063e44fee47b2179d3 /Kernel/API/Syscall.h | |
parent | ff60e8ffc6e940bcf71cc1a5a697d1b2c25c6caa (diff) | |
download | serenity-baa6ff56497e583d706a2999134f6468f2f89b29.zip |
Kernel: Wrap HIDManagement keymap data in SpinlockProtected
This serializes access to the current keymap data everywhere in the
kernel, allowing to mark sys$setkeymap() as not needing the big lock.
Diffstat (limited to 'Kernel/API/Syscall.h')
-rw-r--r-- | Kernel/API/Syscall.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/API/Syscall.h b/Kernel/API/Syscall.h index 4df48098ff..408f7572e2 100644 --- a/Kernel/API/Syscall.h +++ b/Kernel/API/Syscall.h @@ -162,7 +162,7 @@ enum class NeedsBigProcessLock { S(setgid, NeedsBigProcessLock::Yes) \ S(setgroups, NeedsBigProcessLock::Yes) \ S(sethostname, NeedsBigProcessLock::No) \ - S(setkeymap, NeedsBigProcessLock::Yes) \ + S(setkeymap, NeedsBigProcessLock::No) \ S(setpgid, NeedsBigProcessLock::Yes) \ S(setresgid, NeedsBigProcessLock::Yes) \ S(setresuid, NeedsBigProcessLock::Yes) \ |