commit | e817c2f33efb4aa7f02c98dfab9a5f8ff383ea7e | [log] [tgz] |
---|---|---|
author | Andreas Gruenbacher <agruenba@redhat.com> | Thu Feb 18 12:04:08 2016 +0100 |
committer | Paul Moore <paul@paul-moore.com> | Fri Feb 19 16:29:19 2016 -0500 |
tree | e572b7e4fa493fba5cc7252d4bab26b1c81624dc | |
parent | b197367ed1ba81b0d26f7e7f76f61731ac6e5842 [diff] |
selinux: Don't sleep inside inode_getsecid hook The inode_getsecid hook is called from contexts in which sleeping is not allowed, so we cannot revalidate inode security labels from there. Use the non-validating version of inode_security() instead. Reported-by: Benjamin Coddington <bcodding@redhat.com> Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com> Acked-by: Stephen Smalley <sds@tycho.nsa.gov> Signed-off-by: Paul Moore <paul@paul-moore.com>