From c1165f822cd9f8c3467b5f825ce933ab8374b361 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Tue, 2 Oct 2012 17:40:09 -0400 Subject: audit: turn the audit fd into a static variable As audit is pretty much just a special kind of logging we should treat it similar, and manage the audit fd in a static variable. This simplifies the audit fd sharing with the SELinux access checking code quite a bit. --- src/core/manager.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/core/manager.h') diff --git a/src/core/manager.h b/src/core/manager.h index 913752f9ef..22145024f1 100644 --- a/src/core/manager.h +++ b/src/core/manager.h @@ -200,11 +200,6 @@ struct Manager { * file system */ int pin_cgroupfs_fd; - /* Audit fd */ -#ifdef HAVE_AUDIT - int audit_fd; -#endif - /* Flags */ SystemdRunningAs running_as; ManagerExitCode exit_code:5; -- cgit v1.2.3-54-g00ecf