XACE: Call the creation hook to properly label COMPOSITE window pixmaps.
This commit is contained in:
parent
27bcf40cda
commit
5675ae1f72
|
@ -291,6 +291,12 @@ ProcCompositeNameWindowPixmap (ClientPtr client)
|
|||
|
||||
++pPixmap->refcnt;
|
||||
|
||||
/* security creation/labeling check */
|
||||
rc = XaceHook(XACE_RESOURCE_ACCESS, client, stuff->pixmap, RT_PIXMAP,
|
||||
pPixmap, RT_WINDOW, pWin, DixCreateAccess);
|
||||
if (rc != Success)
|
||||
return rc;
|
||||
|
||||
if (!AddResource (stuff->pixmap, RT_PIXMAP, (pointer) pPixmap))
|
||||
return BadAlloc;
|
||||
|
||||
|
|
Loading…
Reference in New Issue