The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Paul Moore <paul@paul-moore.com>
To: Yao Dongdong <yaodongdong@huawei.com>
Cc: sds@tycho.nsa.gov, james.l.morris@oracle.com, serge@hallyn.com,
	linux-security-module@vger.kernel.org,
	linux-kernel@vger.kernel.org, lizefan@huawei.com
Subject: Re: [PATCH] selinux: Remove security_ops extern
Date: Mon, 01 Dec 2014 16:47:29 -0500	[thread overview]
Message-ID: <2400532.lYxijS5ODp@sifl> (raw)
In-Reply-To: <1417148735-13522-1-git-send-email-yaodongdong@huawei.com>

On Friday, November 28, 2014 04:25:35 AM Yao Dongdong wrote:
> security_ops is not used in this file.
> 
> Signed-off-by: Yao Dongdong <yaodongdong@huawei.com>
> ---
>  security/selinux/hooks.c | 2 --
>  1 file changed, 2 deletions(-)

Applied, thanks.

> diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
> index c603b20..6da7532 100644
> --- a/security/selinux/hooks.c
> +++ b/security/selinux/hooks.c
> @@ -95,8 +95,6 @@
>  #include "audit.h"
>  #include "avc_ss.h"
> 
> -extern struct security_operations *security_ops;
> -
>  /* SECMARK reference count */
>  static atomic_t selinux_secmark_refcount = ATOMIC_INIT(0);

-- 
paul moore
www.paul-moore.com


      reply	other threads:[~2014-12-01 21:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-28  4:25 [PATCH] selinux: Remove security_ops extern Yao Dongdong
2014-12-01 21:47 ` Paul Moore [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2400532.lYxijS5ODp@sifl \
    --to=paul@paul-moore.com \
    --cc=james.l.morris@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    --cc=lizefan@huawei.com \
    --cc=sds@tycho.nsa.gov \
    --cc=serge@hallyn.com \
    --cc=yaodongdong@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox