diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2008-02-13 19:39:49 -0500 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil> | 2008-02-13 20:20:49 -0500 |
commit | ae43d835bdaef96c3c73d7cee5b105f07340833d (patch) | |
tree | 0bdf9d6a63961a2ac3fd0229f635cf0dce39c3ce /Xi/setbmap.c | |
parent | ba69904148acf755bec8fbda2eb869144f0ef7d4 (diff) |
XACE: Change access modes for some device-related requests.
Opening a device is not really "reading" it.
Requests that globally configure a device should require "manage" access.
Diffstat (limited to 'Xi/setbmap.c')
-rw-r--r-- | Xi/setbmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/setbmap.c b/Xi/setbmap.c index 3035c649e..f05225531 100644 --- a/Xi/setbmap.c +++ b/Xi/setbmap.c @@ -109,7 +109,7 @@ ProcXSetDeviceButtonMapping(ClientPtr client) rep.sequenceNumber = client->sequence; rep.status = MappingSuccess; - ret = dixLookupDevice(&dev, stuff->deviceid, client, DixSetAttrAccess); + ret = dixLookupDevice(&dev, stuff->deviceid, client, DixManageAccess); if (ret != Success) return ret; |