aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorBernd Edlinger <[email protected]>2020-03-20 20:27:24 +0000
committerEric W. Biederman <[email protected]>2020-03-25 15:04:01 +0000
commit2db9dbf71bf98d02a0bf33e798e5bfd2a9944696 (patch)
treeb63a4232ab077b356f26635dbb9bb971914933a8 /tools/perf/scripts/python/syscall-counts.py
parentkernel/kcmp.c: Use new infrastructure to fix deadlocks in execve (diff)
downloadkernel-2db9dbf71bf98d02a0bf33e798e5bfd2a9944696.tar.gz
kernel-2db9dbf71bf98d02a0bf33e798e5bfd2a9944696.zip
proc: Use new infrastructure to fix deadlocks in execve
This changes lock_trace to use the new exec_update_mutex instead of cred_guard_mutex. This fixes possible deadlocks when the trace is accessing /proc/$pid/stack for instance. This should be safe, as the credentials are only used for reading, and task->mm is updated on execve under the new exec_update_mutex. Signed-off-by: Bernd Edlinger <[email protected]> Signed-off-by: Eric W. Biederman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions