Skip to content

Commit be4104a

Browse files
committed
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>
1 parent 173743d commit be4104a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎kernel/audit.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1562,7 +1562,7 @@ static int __init audit_init(void)
15621562

15631563
return 0;
15641564
}
1565-
__initcall(audit_init);
1565+
postcore_initcall(audit_init);
15661566

15671567
/* Process kernel command-line parameter at boot time. audit=0 or audit=1. */
15681568
static int __init audit_enable(char *str)

0 commit comments

Comments
 (0)