[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1605.1434645740@warthog.procyon.org.uk>
Date: Thu, 18 Jun 2015 17:42:20 +0100
From: David Howells <dhowells@...hat.com>
To: Stephen Smalley <sds@...ho.nsa.gov>
Cc: dhowells@...hat.com, linux-fsdevel@...r.kernel.org,
linux-security-module@...r.kernel.org,
linux-unionfs@...r.kernel.org, linux-kernel@...r.kernel.org,
SELinux <selinux@...ho.nsa.gov>, Paul Moore <paul@...l-moore.com>
Subject: Re: [PATCH] SELinux: Create a common helper to determine an inode label
Stephen Smalley <sds@...ho.nsa.gov> wrote:
> > + rc = selinux_determine_inode_label(d_inode(dentry), name,
>
> Hmmm...previously we were using d_backing_inode(dentry->d_parent) here.
I also think this should probably be d_inode() not d_backing_inode() since
we're being called by the filesystem that owns the dentry being contemplated.
David
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists