diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2007-04-17 16:01:56 -0400 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-uranus.epoch.ncsc.mil> | 2007-04-17 16:01:56 -0400 |
commit | 9cee4ec5e6e06d23aafb302494b082c77ade4623 (patch) | |
tree | ee073cce5999f79df2c8aa87f4891e83a38afaaa /os | |
parent | 47bd311e3dcc501cbb202ce79a55ac32e9db50f2 (diff) |
xace: change the semantics of the return value of XACE hooks to allow
arbitrary X status codes instead of just TRUE/FALSE.
The dix layer in most cases still does not propagate the return value of
XACE hooks back to the client, however. There is more error propagation
work to do.
Diffstat (limited to 'os')
-rw-r--r-- | os/access.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/access.c b/os/access.c index 221b8cbcd..d9fcd4466 100644 --- a/os/access.c +++ b/os/access.c @@ -1528,7 +1528,7 @@ AuthorizedClient(ClientPtr client) return TRUE; /* untrusted clients can't change host access */ - if (!XaceHook(XACE_HOSTLIST_ACCESS, client, DixWriteAccess)) + if (XaceHook(XACE_HOSTLIST_ACCESS, client, DixWriteAccess) != Success) return FALSE; return LocalClient(client); |