security: Make inode argument of inode_getsecid non-const
authorAndreas Gruenbacher <agruenba@redhat.com>
Thu, 24 Dec 2015 16:09:39 +0000 (11:09 -0500)
committerPaul Moore <pmoore@redhat.com>
Thu, 24 Dec 2015 16:09:39 +0000 (11:09 -0500)
commitd6335d77a7622a88380f3f207cc1f727f878dd21
tree4333468b8ce63aba39de0c37ed1214f0bdb22b9f
parentea861dfd9e0e7e044a6e65fa02a14b9159b568da
security: Make inode argument of inode_getsecid non-const

Make the inode argument of the inode_getsecid hook non-const so that we
can use it to revalidate invalid security labels.

Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <pmoore@redhat.com>
include/linux/audit.h
include/linux/lsm_hooks.h
include/linux/security.h
kernel/audit.c
kernel/audit.h
kernel/auditsc.c
security/security.c
security/selinux/hooks.c
security/smack/smack_lsm.c