[PATCH V6 04/10] audit: initialize at subsystem time rather than device time
Richard Guy Briggs
rgb at redhat.com
Fri Apr 17 07:35:51 UTC 2015
The audit subsystem should be initialized a bit earlier so that it is in place
in time for initial namespace ID number logging.
Signed-off-by: Richard Guy Briggs <rgb at redhat.com>
---
kernel/audit.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/kernel/audit.c b/kernel/audit.c
index 68200ce..63f32f4 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -1188,7 +1188,7 @@ static int __init audit_init(void)
return 0;
}
-__initcall(audit_init);
+subsys_initcall(audit_init);
/* Process kernel command-line parameter at boot time. audit=0 or audit=1. */
static int __init audit_enable(char *str)
--
1.7.1
More information about the Linux-audit
mailing list