forked from luck/tmp_suning_uos_patched
audit: initialize the audit subsystem as early as possible
We can't initialize the audit subsystem until after the network layer is initialized (core_initcall), but do it soon after. Reviewed-by: Richard Guy Briggs <rgb@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
This commit is contained in:
parent
173743dd99
commit
be4104abf2
|
@ -1562,7 +1562,7 @@ static int __init audit_init(void)
|
|||
|
||||
return 0;
|
||||
}
|
||||
__initcall(audit_init);
|
||||
postcore_initcall(audit_init);
|
||||
|
||||
/* Process kernel command-line parameter at boot time. audit=0 or audit=1. */
|
||||
static int __init audit_enable(char *str)
|
||||
|
|
Loading…
Reference in New Issue
Block a user