diff options
author | Andreas Gruenbacher <[email protected]> | 2015-12-24 11:09:40 -0500 |
---|---|---|
committer | Paul Moore <[email protected]> | 2015-12-24 11:09:40 -0500 |
commit | 5d226df4edfa0eb1e689e7ac2741cf261ff7cbf1 (patch) | |
tree | 3fe85bb21b799df769d9079687c874ba1569a4fa /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 6f3be9f562e3027c77bc4482ccf2cea8600a7f74 (diff) |
selinux: Revalidate invalid inode security labels
When fetching an inode's security label, check if it is still valid, and
try reloading it if it is not. Reloading will fail when we are in RCU
context which doesn't allow sleeping, or when we can't find a dentry for
the inode. (Reloading happens via iop->getxattr which takes a dentry
parameter.) When reloading fails, continue using the old, invalid
label.
Signed-off-by: Andreas Gruenbacher <[email protected]>
Acked-by: Stephen Smalley <[email protected]>
Signed-off-by: Paul Moore <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions