lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAHC9VhT8+DR0jvY8SO=HArhjcTfxsZxaoqy-1ufcOQEcD6qOXQ@mail.gmail.com>
Date:   Mon, 10 May 2021 21:40:11 -0400
From:   Paul Moore <paul@...l-moore.com>
To:     Zhongjun Tan <hbut_tan@....com>
Cc:     steffen.klassert@...unet.com, herbert@...dor.apana.org.au,
        davem@...emloft.net, kuba@...nel.org,
        James Morris <jmorris@...ei.org>,
        Serge Hallyn <serge@...lyn.com>,
        Stephen Smalley <stephen.smalley.work@...il.com>,
        Eric Paris <eparis@...isplace.org>, keescook@...omium.org,
        gregkh@...uxfoundation.org, ebiederm@...ssion.com,
        kpsingh@...gle.com, dhowells@...hat.com,
        christian.brauner@...ntu.com, zohar@...ux.ibm.com,
        linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
        linux-security-module@...r.kernel.org, selinux@...r.kernel.org,
        Zhongjun Tan <tanzhongjun@...ong.com>
Subject: Re: [PATCH 2/2] selinux:Delete selinux_xfrm_policy_lookup() useless argument

On Fri, Apr 9, 2021 at 1:52 AM Zhongjun Tan <hbut_tan@....com> wrote:
>
> From: Zhongjun Tan <tanzhongjun@...ong.com>
>
> seliunx_xfrm_policy_lookup() is hooks of security_xfrm_policy_lookup().
> The dir argument is uselss in security_xfrm_policy_lookup(). So
> remove the dir argument from selinux_xfrm_policy_lookup() and
> security_xfrm_policy_lookup().
>
> Signed-off-by: Zhongjun Tan <tanzhongjun@...ong.com>
> ---
>  include/linux/lsm_hook_defs.h   | 3 +--
>  include/linux/security.h        | 4 ++--
>  net/xfrm/xfrm_policy.c          | 6 ++----
>  security/security.c             | 4 ++--
>  security/selinux/include/xfrm.h | 2 +-
>  security/selinux/xfrm.c         | 2 +-
>  6 files changed, 9 insertions(+), 12 deletions(-)

Merged into selinux/next, thanks.

-- 
paul moore
www.paul-moore.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ