Re: [PATCH V5 05/13] audit: initialize at subsystem time rather than device time

From: Serge E. Hallyn
Date: Mon Oct 13 2014 - 08:30:24 EST


Quoting Richard Guy Briggs (rgb@xxxxxxxxxx):
> The audit subsystem should be initialized a bit earlier so that it is in place
> in time for initial namespace serial number logging.
> ---

Acked-by: Serge Hallyn <serge.hallyn@xxxxxxxxxxxxx>

> kernel/audit.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/kernel/audit.c b/kernel/audit.c
> index ff1630d..8ff7f28 100644
> --- a/kernel/audit.c
> +++ b/kernel/audit.c
> @@ -1186,7 +1186,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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/