Linux ocfs2 filesystem development
 help / color / mirror / Atom feed
From: Stephen Smalley <sds@tycho.nsa.gov>
To: Andreas Gruenbacher <agruenba@redhat.com>,
	linux-security-module@vger.kernel.org, selinux@tycho.nsa.gov,
	ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] [PATCH v3 1/7] selinux: Remove unused variable in selinux_inode_init_security
Date: Tue, 27 Oct 2015 09:11:02 -0400	[thread overview]
Message-ID: <562F77E6.7000602@tycho.nsa.gov> (raw)
In-Reply-To: <1445894128-6765-2-git-send-email-agruenba@redhat.com>

On 10/26/2015 05:15 PM, Andreas Gruenbacher wrote:
> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>

Acked-by:  Stephen Smalley <sds@tycho.nsa.gov>

> ---
>   security/selinux/hooks.c | 2 --
>   1 file changed, 2 deletions(-)
>
> diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
> index e4369d8..fc8f626 100644
> --- a/security/selinux/hooks.c
> +++ b/security/selinux/hooks.c
> @@ -2756,13 +2756,11 @@ static int selinux_inode_init_security(struct inode *inode, struct inode *dir,
>   				       void **value, size_t *len)
>   {
>   	const struct task_security_struct *tsec = current_security();
> -	struct inode_security_struct *dsec;
>   	struct superblock_security_struct *sbsec;
>   	u32 sid, newsid, clen;
>   	int rc;
>   	char *context;
>
> -	dsec = dir->i_security;
>   	sbsec = dir->i_sb->s_security;
>
>   	sid = tsec->sid;
>

  parent reply	other threads:[~2015-10-27 13:11 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1445894128-6765-1-git-send-email-agruenba@redhat.com>
2015-10-27 12:32 ` [Ocfs2-devel] [PATCH v3 0/7] Inode security label invalidation Stephen Smalley
     [not found] ` <1445894128-6765-2-git-send-email-agruenba@redhat.com>
2015-10-27 13:11   ` Stephen Smalley [this message]
     [not found] ` <1445894128-6765-4-git-send-email-agruenba@redhat.com>
2015-10-27 16:40   ` [Ocfs2-devel] [PATCH v3 3/7] selinux: Get rid of file_path_has_perm Stephen Smalley
     [not found]     ` <CAHc6FU5w6Znxs=xa6TPgG0QJkAsx3=AwUn4KXNAiHMDQ1PsV2A@mail.gmail.com>
2015-10-28 17:31       ` Stephen Smalley
2015-10-28 18:56         ` Stephen Smalley
     [not found] ` <1445894128-6765-3-git-send-email-agruenba@redhat.com>
2015-10-27 17:20   ` [Ocfs2-devel] [PATCH v3 2/7] selinux: Add accessor functions for inode->i_security Stephen Smalley
     [not found] ` <1445894128-6765-6-git-send-email-agruenba@redhat.com>
2015-10-28  6:08   ` [Ocfs2-devel] [PATCH v3 5/7] security: Add hook to invalidate inode security labels James Morris
2015-10-28  6:09   ` James Morris

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=562F77E6.7000602@tycho.nsa.gov \
    --to=sds@tycho.nsa.gov \
    --cc=agruenba@redhat.com \
    --cc=linux-security-module@vger.kernel.org \
    --cc=ocfs2-devel@oss.oracle.com \
    --cc=selinux@tycho.nsa.gov \
    /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