summaryrefslogtreecommitdiff
path: root/dix
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2016-04-29 14:22:52 -0400
committerAdam Jackson <ajax@redhat.com>2016-06-10 13:26:19 -0400
commit6cb34816afa95d9214199c363f9b4bb5ecbae77b (patch)
treee238564ed4559eb1b504cf0912075f587296a29f /dix
parentda9fec4eddd554b4b709ba58b4436aef5a76cd51 (diff)
xace: Remove the audit hooks and tune dispatch
There are no in-tree consumers of the audit hooks, and they are in any case redundant with the dtrace dispatch hooks. Neither is there any in-tree user of the core request dispatch hook. The extension hook is only used for non-default security cases, but in the absence of LTO we always have to take the function call into XaceHookDispatch to find out that there's no callback registered. Cc: Eamon Walsh <ewalsh@tycho.nsa.gov> Signed-off-by: Adam Jackson <ajax@redhat.com> Reviewed-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'dix')
-rw-r--r--dix/dispatch.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/dix/dispatch.c b/dix/dispatch.c
index 26122c1b6..86124c683 100644
--- a/dix/dispatch.c
+++ b/dix/dispatch.c
@@ -426,7 +426,6 @@ Dispatch(void)
if (result == Success)
result =
(*client->requestVector[client->majorOp]) (client);
- XaceHookAuditEnd(client, result);
}
if (!SmartScheduleSignalEnable)
SmartScheduleTime = GetTimeInMillis();