projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
173743d
)
audit: initialize the audit subsystem as early as possible
author
Paul Moore
<paul@paul-moore.com>
Fri, 1 Sep 2017 13:44:44 +0000
(09:44 -0400)
committer
Paul Moore
<paul@paul-moore.com>
Fri, 10 Nov 2017 21:07:46 +0000
(16:07 -0500)
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>
kernel/audit.c
patch
|
blob
|
blame
|
history
diff --git
a/kernel/audit.c
b/kernel/audit.c
index ec3d0802734d3e877a8bfc5da90c9a6f00b5de27..db71c45ea6f8c0e0eca72d54ea08ffa846baa176 100644
(file)
--- a/
kernel/audit.c
+++ b/
kernel/audit.c
@@
-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)