summaryrefslogtreecommitdiff
path: root/xkb
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2008-02-27 22:28:54 -0500
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2008-02-27 22:48:28 -0500
commit3b1df47bd400be9dca34b5e5d1ac2b117f8cc4ed (patch)
treec8b4d5ba9ce8c5f8d83e09b8abb7134fe9e2f4f2 /xkb
parent08afc70513e5496cc5cd8b76c8658c4292119e4b (diff)
XACE: Require "manage" permission for XKBSetNames.
Diffstat (limited to 'xkb')
-rw-r--r--xkb/xkb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xkb/xkb.c b/xkb/xkb.c
index b0d2f0d3d..07f57a73b 100644
--- a/xkb/xkb.c
+++ b/xkb/xkb.c
@@ -3545,7 +3545,7 @@ ProcXkbSetNames(ClientPtr client)
if (!(client->xkbClientFlags&_XkbClientInitialized))
return BadAccess;
- CHK_KBD_DEVICE(dev, stuff->deviceSpec, client, DixUnknownAccess);
+ CHK_KBD_DEVICE(dev, stuff->deviceSpec, client, DixManageAccess);
CHK_MASK_LEGAL(0x01,stuff->which,XkbAllNamesMask);
xkb = dev->key->xkbInfo->desc;