summaryrefslogtreecommitdiff
path: root/os/connection.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2006-10-13 18:10:45 +0300
committerDaniel Stone <daniels@endtroducing.fooishbar.org>2006-10-13 18:10:45 +0300
commit335b503c5e7041bb0c44611e496d1c46f554e630 (patch)
treed4b1439827a9303dcad78d0b20edbc1ad011a620 /os/connection.c
parentbd3d93be82d91e4cf35ae317dfd658d1706257ea (diff)
parentcf948b7b04dfeb61a294889027b9a54f6b9b478e (diff)
Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug
Diffstat (limited to 'os/connection.c')
-rw-r--r--os/connection.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/os/connection.c b/os/connection.c
index ef0578908..687f27f95 100644
--- a/os/connection.c
+++ b/os/connection.c
@@ -148,6 +148,9 @@ extern __const__ int _nfiles;
#ifdef XAPPGROUP
#include "appgroup.h"
#endif
+#ifdef XACE
+#include "xace.h"
+#endif
#ifdef XCSECURITY
#include "securitysrv.h"
#endif
@@ -690,9 +693,8 @@ ClientAuthorized(ClientPtr client,
/* indicate to Xdmcp protocol that we've opened new client */
XdmcpOpenDisplay(priv->fd);
#endif /* XDMCP */
-#ifdef XAPPGROUP
- if (ClientStateCallback)
- XagCallClientStateChange (client);
+#ifdef XACE
+ XaceHook(XACE_AUTH_AVAIL, client, auth_id);
#endif
/* At this point, if the client is authorized to change the access control
* list, we should getpeername() information, and add the client to