diff options
author | Kees Cook <[email protected]> | 2017-06-21 09:53:06 -0700 |
---|---|---|
committer | Al Viro <[email protected]> | 2017-06-29 20:08:32 -0400 |
commit | cc658db47d6897a8571fb6227f59d1d18151b0b2 (patch) | |
tree | 67d1bd8c5c8f3f7c90a6f24c39832fc0218de07a /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 41124db869b7e00e12052555f8987867ac01d70c (diff) |
fs: Reorder inode_owner_or_capable() to avoid needless
Checking for capabilities should be the last operation when performing
access control tests so that PF_SUPERPRIV is set only when it was required
for success (implying that the capability was needed for the operation).
Reported-by: Solar Designer <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Acked-by: Serge Hallyn <[email protected]>
Reviewed-by: Andy Lutomirski <[email protected]>
Signed-off-by: Al Viro <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions