]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selinux: Add accessor functions for inode->i_security
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 24 Dec 2015 16:09:39 +0000 (11:09 -0500)
committerAnand Jain <anand.jain@oracle.com>
Thu, 26 Oct 2017 08:15:29 +0000 (16:15 +0800)
commit43157b90d8aa55fed6ee3d8a92a1894978ea945e
tree7b0d27bb60e0edc949884bc323ef791c20ec672b
parent3b9689a50bd3e8934c10194eb9898f5124ea7873
selinux: Add accessor functions for inode->i_security

Add functions dentry_security and inode_security for accessing
inode->i_security.  These functions initially don't do much, but they
will later be used to revalidate the security labels when necessary.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <pmoore@redhat.com>
Orabug: 25684456

(backport upstream commit 83da53c5a34564a0a63b26f84293c6e2a639e1e4)

Signed-off-by: Anand Jain <anand.jain@oracle.com>
Acked-by: James Morris <james.l.morris@oracle.com>
Reviewed-by: James Morris <james.l.morris@oracle.com>
 conflict fix
    security/selinux/hooks.c
security/selinux/hooks.c