Re: [PATCH v4 3/7] security: Make inode argument of inode_getsecid non-const

2015-10-29 Thread Stephen Smalley
On 10/28/2015 08:47 PM, Andreas Gruenbacher wrote: 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 Acked-by: Stephen Smalley --- include/linux/audit.h | 8 include/

[PATCH v4 3/7] security: Make inode argument of inode_getsecid non-const

2015-10-28 Thread Andreas Gruenbacher
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 --- include/linux/audit.h | 8 include/linux/lsm_hooks.h | 2 +- include/linux/security.h | 4 ++-- kernel/audit.c