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/setmmap.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/setmmap.c')
-rw-r--r-- | Xi/setmmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/setmmap.c b/Xi/setmmap.c index be3d3cb6c..34efde595 100644 --- a/Xi/setmmap.c +++ b/Xi/setmmap.c @@ -98,7 +98,7 @@ ProcXSetDeviceModifierMapping(ClientPtr client) REQUEST(xSetDeviceModifierMappingReq); REQUEST_AT_LEAST_SIZE(xSetDeviceModifierMappingReq); - ret = dixLookupDevice(&dev, stuff->deviceid, client, DixSetAttrAccess); + ret = dixLookupDevice(&dev, stuff->deviceid, client, DixManageAccess); if (ret != Success) return ret; |