[PATCH 12/12] security: fix up documentation for security_module_enable

Casey Schaufler casey at schaufler-ca.com
Thu Apr 17 15:30:47 UTC 2008


--- James Morris <jmorris at namei.org> wrote:

> security_module_enable() can only be called during kernel init.
> 
> Signed-off-by: James Morris <jmorris at namei.org>

Acked-by: Casey Schaufler <casey at schaufler-ca.com>

> ---
>  security/security.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/security/security.c b/security/security.c
> index 2ed153c..7787c59 100644
> --- a/security/security.c
> +++ b/security/security.c
> @@ -83,7 +83,7 @@ __setup("security=", choose_lsm);
>   *
>   * Each LSM must pass this method before registering its own operations
>   * to avoid security registration races. This method may also be used
> - * to check if your LSM is currently loaded.
> + * to check if your LSM is currently loaded during kernel initialization.
>   *
>   * Return true if:
>   *	-The passed LSM is the one chosen by user at boot time,
> -- 
> 1.5.4.2
> 
> --
> To unsubscribe from this list: send the line "unsubscribe
> linux-security-module" in
> the body of a message to majordomo at vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 
> 


Casey Schaufler
casey at schaufler-ca.com




More information about the Linux-audit mailing list