From 535366ffcf36b38815c9c344402b21c126050188 Mon Sep 17 00:00:00 2001 From: Fedora X Ninjas Date: Fri, 21 Feb 2015 03:30:50 +0000 Subject: [PATCH] AAAAAAAAAAAAAAA diff -Nurp xorg-server-1.15.0/Xext/shm.c xorg-server-1.15.0.new/Xext/shm.c --- xorg-server-1.15.0/Xext/shm.c 2015-03-23 13:10:04.828994011 -0400 +++ xorg-server-1.15.0.new/Xext/shm.c 2015-03-24 13:19:33.496903277 -0400 @@ -992,6 +992,12 @@ ProcPanoramiXShmCreatePixmap(ClientPtr c stuff->offset); if (pMap) { + rc = XaceHook(XACE_RESOURCE_ACCESS, client, stuff->pid, RT_PIXMAP, + pMap, RT_NONE, NULL, DixCreateAccess); + if (rc != Success) { + pDraw->pScreen->DestroyPixmap(pMap); + return rc; + } dixSetPrivate(&pMap->devPrivates, shmPixmapPrivateKey, shmdesc); shmdesc->refcnt++; pMap->drawable.serialNumber = NEXT_SERIAL_NUMBER;