[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-security-module
Subject:    Re: [PATCH v3 3/3] security:apparmor: kill unused macros in lsm.c
From:       John Johansen <john.johansen () canonical ! com>
Date:       2011-01-21 2:27:32
Message-ID: 4D38EF14.4050009 () canonical ! com
[Download RAW message or body]

On 01/20/2011 06:13 PM, Shan Wei wrote:
> Remove unused macros.
> 
Thanks,
I'll get it pulled into the tree tonight.

> 
> Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: John Johansen <john.johansen@canonical.com>

> ---
> V3: param_check_aabool, param_check_aauint and param_check_aalockpolicy
> are used by module_param_named implicitly.
> ---
>  security/apparmor/lsm.c |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/security/apparmor/lsm.c b/security/apparmor/lsm.c
> index b7106f1..d21a427 100644
> --- a/security/apparmor/lsm.c
> +++ b/security/apparmor/lsm.c
> @@ -693,11 +693,9 @@ static struct kernel_param_ops param_ops_aalockpolicy = {
>  
>  static int param_set_audit(const char *val, struct kernel_param *kp);
>  static int param_get_audit(char *buffer, struct kernel_param *kp);
> -#define param_check_audit(name, p) __param_check(name, p, int)
>  
>  static int param_set_mode(const char *val, struct kernel_param *kp);
>  static int param_get_mode(char *buffer, struct kernel_param *kp);
> -#define param_check_mode(name, p) __param_check(name, p, int)
>  
>  /* Flag values, also controllable via /sys/module/apparmor/parameters
>   * We define special types as we want to do additional mediation.

--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic