summaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2016-02-29 09:04:01 +0100
committerIngo Molnar <mingo@kernel.org>2016-02-29 09:04:01 +0100
commit0a7348925f58839fbb4c86b7e34f43b91beb0586 (patch)
tree8db1b38503cc444f78b13ed1a3d6816708cf181c /security/selinux/hooks.c
parentce1984cc45ccf943f1b78b1674dfdbe5df2d45a9 (diff)
parentfc77dbd34c5c99bce46d40a2491937c3bcbd10af (diff)
downloadlinux-0a7348925f58839fbb4c86b7e34f43b91beb0586.tar.gz
linux-0a7348925f58839fbb4c86b7e34f43b91beb0586.tar.bz2
linux-0a7348925f58839fbb4c86b7e34f43b91beb0586.zip
Merge tag 'v4.5-rc6' into perf/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'security/selinux/hooks.c')
-rw-r--r--security/selinux/hooks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index f8110cfd80ff..f1ab71504e1d 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -3249,7 +3249,7 @@ static int selinux_inode_listsecurity(struct inode *inode, char *buffer, size_t
static void selinux_inode_getsecid(struct inode *inode, u32 *secid)
{
- struct inode_security_struct *isec = inode_security(inode);
+ struct inode_security_struct *isec = inode_security_novalidate(inode);
*secid = isec->sid;
}