diff options
author | 2016-02-18 12:04:08 +0100 | |
---|---|---|
committer | 2016-02-19 16:29:19 -0500 | |
commit | e817c2f33efb4aa7f02c98dfab9a5f8ff383ea7e (patch) | |
tree | e572b7e4fa493fba5cc7252d4bab26b1c81624dc /tools/perf/scripts/python/stackcollapse.py | |
parent | selinux: Inode label revalidation performance fix (diff) | |
download | wireguard-linux-e817c2f33efb4aa7f02c98dfab9a5f8ff383ea7e.tar.xz wireguard-linux-e817c2f33efb4aa7f02c98dfab9a5f8ff383ea7e.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions