aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJann Horn <[email protected]>2018-09-29 03:49:26 +0200
committerJohn Johansen <[email protected]>2018-10-03 06:29:22 -0700
commitca3fde5214e1d24f78269b337d3f22afd6bf445e (patch)
tree74d474a553b59e9b0bcc1bf5627047f9bf3023f2 /tools/perf/scripts/python/exported-sql-viewer.py
parent0fb871cc42537465e322f727bec6abfd375faa83 (diff)
apparmor: don't try to replace stale label in ptraceme check
begin_current_label_crit_section() must run in sleepable context because when label_is_stale() is true, aa_replace_current_label() runs, which uses prepare_creds(), which can sleep. Until now, the ptraceme access check (which runs with tasklist_lock held) violated this rule. Fixes: b2d09ae449ced ("apparmor: move ptrace checks to using labels") Reported-by: Cyrill Gorcunov <[email protected]> Reported-by: kernel test robot <[email protected]> Signed-off-by: Jann Horn <[email protected]> Signed-off-by: John Johansen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions