aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorStephen Smalley <[email protected]>2017-03-10 12:14:18 -0500
committerPaul Moore <[email protected]>2017-03-29 17:33:11 -0400
commit2a4c22426955d4fc04069811997b7390c0fb858e (patch)
tree5ca50881e92de4a8c25947b4adc2d8dd53bc01a5 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent710a0647ba955abd25460c36a09d80fdbe878273 (diff)
fs: switch order of CAP_DAC_OVERRIDE and CAP_DAC_READ_SEARCH checks
generic_permission() presently checks CAP_DAC_OVERRIDE prior to CAP_DAC_READ_SEARCH. This can cause misleading audit messages when using a LSM such as SELinux or AppArmor, since CAP_DAC_OVERRIDE may not be required for the operation. Flip the order of the tests so that CAP_DAC_OVERRIDE is only checked when required for the operation. Signed-off-by: Stephen Smalley <[email protected]> Acked-by: John Johansen <[email protected]> Reviewed-by: Serge Hallyn <[email protected]> Acked-by: James Morris <[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