mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-28 21:33:09 +00:00
xace: rename hostlist security hook to "server" as this hook will be used
for other types of server access besides just the host list.
This commit is contained in:
parent
dc84bb3418
commit
3c9553ac2c
7 changed files with 17 additions and 15 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue