|author||Eamon Walsh <firstname.lastname@example.org>||2009-09-22 13:13:03 -0700|
|committer||Eamon Walsh <email@example.com>||2009-10-14 19:19:19 -0400|
xace: Relax permissions on XkbGetState from Read to Getattr.
This request is used to get the current keyboard group and is called from GTK. It does not return an actual keymap (aside from modifiers) so it should be safe to relax the permission on it. However it does return button state information which should be controlled through a separate pointer Read check. Signed-off-by: Eamon Walsh <firstname.lastname@example.org>
1 files changed, 1 insertions, 1 deletions
@@ -554,7 +554,7 @@ ProcXkbGetState(ClientPtr client)
- CHK_KBD_DEVICE(dev, stuff->deviceSpec, client, DixReadAccess);
+ CHK_KBD_DEVICE(dev, stuff->deviceSpec, client, DixGetAttrAccess);