summaryrefslogtreecommitdiff
path: root/Xi/chgfctl.c
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2008-02-13 19:39:49 -0500
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2008-02-13 20:20:49 -0500
commitae43d835bdaef96c3c73d7cee5b105f07340833d (patch)
tree0bdf9d6a63961a2ac3fd0229f635cf0dce39c3ce /Xi/chgfctl.c
parentba69904148acf755bec8fbda2eb869144f0ef7d4 (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/chgfctl.c')
-rw-r--r--Xi/chgfctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/chgfctl.c b/Xi/chgfctl.c
index 696b74a16..3155e87c2 100644
--- a/Xi/chgfctl.c
+++ b/Xi/chgfctl.c
@@ -444,7 +444,7 @@ ProcXChangeFeedbackControl(ClientPtr client)
REQUEST_AT_LEAST_SIZE(xChangeFeedbackControlReq);
len = stuff->length - (sizeof(xChangeFeedbackControlReq) >> 2);
- rc = dixLookupDevice(&dev, stuff->deviceid, client, DixSetAttrAccess);
+ rc = dixLookupDevice(&dev, stuff->deviceid, client, DixManageAccess);
if (rc != Success)
return rc;