Searched hist:e817c2f33efb4aa7f02c98dfab9a5f8ff383ea7e (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/security/selinux/ |
H A D | hooks.c | diff e817c2f33efb4aa7f02c98dfab9a5f8ff383ea7e Thu Feb 18 05:04:08 CST 2016 Andreas Gruenbacher <agruenba@redhat.com> 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>
|