diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2008-02-28 16:43:43 -0500 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil> | 2008-02-28 16:43:43 -0500 |
commit | 27bcf40cda1d7c52b189cc76528f1f51cbe1d5eb (patch) | |
tree | 4f10edd5128b84271343ce240bed46a5effada53 /Xext/shm.c | |
parent | 453661a9e193a511cf5e54e6d330454163817316 (diff) |
XACE: Fix instances of DixUnknownAccess at hook callsites.
Diffstat (limited to 'Xext/shm.c')
-rw-r--r-- | Xext/shm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Xext/shm.c b/Xext/shm.c index a7a1ecf75..b2973bff6 100644 --- a/Xext/shm.c +++ b/Xext/shm.c @@ -655,7 +655,7 @@ ProcPanoramiXShmGetImage(ClientPtr client) return ProcShmGetImage(client); rc = dixLookupDrawable(&pDraw, stuff->drawable, client, 0, - DixUnknownAccess); + DixReadAccess); if (rc != Success) return rc; @@ -692,7 +692,7 @@ ProcPanoramiXShmGetImage(ClientPtr client) drawables[0] = pDraw; for(i = 1; i < PanoramiXNumScreens; i++) { rc = dixLookupDrawable(drawables+i, draw->info[i].id, client, 0, - DixUnknownAccess); + DixReadAccess); if (rc != Success) return rc; } @@ -767,7 +767,7 @@ ProcPanoramiXShmCreatePixmap( return BadImplementation; LEGAL_NEW_RESOURCE(stuff->pid, client); rc = dixLookupDrawable(&pDraw, stuff->drawable, client, M_ANY, - DixUnknownAccess); + DixGetAttrAccess); if (rc != Success) return rc; |