summaryrefslogtreecommitdiff
path: root/Xext/security.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-04-18 18:50:05 -0400
committerAdam Jackson <ajax@redhat.com>2008-04-18 18:50:05 -0400
commiteafaf40fb3368ca7e4cf48336fdb7a6c9f536bfa (patch)
treeeab098b3127ef8d1ea3eaab333b6a4ad72367e3e /Xext/security.c
parentf6617b4127125516583f321c961d70f762f728be (diff)
Death to APPGROUP.
Diffstat (limited to 'Xext/security.c')
-rw-r--r--Xext/security.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/Xext/security.c b/Xext/security.c
index e82b97626..b5990309e 100644
--- a/Xext/security.c
+++ b/Xext/security.c
@@ -38,9 +38,6 @@ in this Software without prior written authorization from The Open Group.
#include "xacestr.h"
#include "securitysrv.h"
#include <X11/extensions/securstr.h>
-#ifdef XAPPGROUP
-#include "appgroup.h"
-#endif
#include "modinit.h"
/* Extension stuff */
@@ -833,11 +830,6 @@ SecurityResource(CallbackListPtr *pcbl, pointer unused, pointer calldata)
if (SecurityDoCheck(subj, obj, requested, allowed) == Success)
return;
-#ifdef XAPPGROUP
- if (rec->id == XagDefaultColormap(rec->client))
- return;
-#endif
-
SecurityAudit("Security: denied client %d access %x to resource 0x%x "
"of client %d on request %s\n", rec->client->index,
requested, rec->id, cid,