summaryrefslogtreecommitdiff
path: root/Kernel/Process.h
diff options
context:
space:
mode:
authorBen Wiederhake <BenWiederhake.GitHub@gmx.de>2021-01-31 22:50:17 +0100
committerAndreas Kling <kling@serenityos.org>2021-02-01 09:54:32 +0100
commitcbee0c26e18a6b43e3a24d63a0cf47150593f922 (patch)
tree9e591fff1b9a415d7a86a7d493123c67d5addcb7 /Kernel/Process.h
parent272df54a3e314bdf50009884516116fc814be9c3 (diff)
downloadserenity-cbee0c26e18a6b43e3a24d63a0cf47150593f922.zip
Kernel+keymap+KeyboardMapper: New pledge for getkeymap
Diffstat (limited to 'Kernel/Process.h')
-rw-r--r--Kernel/Process.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Kernel/Process.h b/Kernel/Process.h
index 039d873311..62d5a71f89 100644
--- a/Kernel/Process.h
+++ b/Kernel/Process.h
@@ -82,7 +82,8 @@ extern VirtualAddress g_return_to_ring3_from_signal_trampoline;
__ENUMERATE_PLEDGE_PROMISE(settime) \
__ENUMERATE_PLEDGE_PROMISE(sigaction) \
__ENUMERATE_PLEDGE_PROMISE(setkeymap) \
- __ENUMERATE_PLEDGE_PROMISE(prot_exec)
+ __ENUMERATE_PLEDGE_PROMISE(prot_exec) \
+ __ENUMERATE_PLEDGE_PROMISE(getkeymap)
enum class Pledge : u32 {
#define __ENUMERATE_PLEDGE_PROMISE(x) x,