summaryrefslogtreecommitdiff
path: root/os
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@tycho.nsa.gov>2007-08-15 14:14:25 -0400
committerEamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil>2007-08-15 14:14:25 -0400
commit3c9553ac2cac7f3a41966def44a50d722d7e645b (patch)
tree7c0e73e257fadf3cd512b109cfa06262eb8cbc55 /os
parentdc84bb3418933297a8c005070902d9a91ed3d18f (diff)
xace: rename hostlist security hook to "server" as this hook will be used
for other types of server access besides just the host list.
Diffstat (limited to 'os')
-rw-r--r--os/access.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/access.c b/os/access.c
index 8d96e0420..b049acc04 100644
--- a/os/access.c
+++ b/os/access.c
@@ -1500,7 +1500,7 @@ AuthorizedClient(ClientPtr client)
return TRUE;
/* untrusted clients can't change host access */
- if (XaceHook(XACE_HOSTLIST_ACCESS, client, DixWriteAccess) != Success)
+ if (XaceHook(XACE_SERVER_ACCESS, client, DixWriteAccess) != Success)
return FALSE;
return LocalClient(client);