From 6cb34816afa95d9214199c363f9b4bb5ecbae77b Mon Sep 17 00:00:00 2001 From: Adam Jackson Date: Fri, 29 Apr 2016 14:22:52 -0400 Subject: 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 Signed-off-by: Adam Jackson Reviewed-by: Keith Packard --- dix/dispatch.c | 1 - 1 file changed, 1 deletion(-) (limited to 'dix') 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(); -- cgit v1.2.3