selinux: don't revalidate inodes in selinux_socket_getpeersec_dgram()
authorPaul Moore <paul@paul-moore.com>
Mon, 28 Mar 2016 19:19:10 +0000 (15:19 -0400)
committerPaul Moore <paul@paul-moore.com>
Tue, 5 Apr 2016 20:10:52 +0000 (16:10 -0400)
commit899134f2f6e27dcae1fee12593c492577cc80987
treee9581c725a218d2aec26b2a5f5a7c3850c2e94f0
parent341e0cb593a2b7ec86dd6ca96c68eadc3f6fe1e6
selinux: don't revalidate inodes in selinux_socket_getpeersec_dgram()

We don't have to worry about socket inodes being invalidated so
use inode_security_novalidate() to fetch the inode's security blob.

Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/hooks.c