diff options
author | 2020-03-20 21:27:24 +0100 | |
---|---|---|
committer | 2020-03-25 10:04:01 -0500 | |
commit | 2db9dbf71bf98d02a0bf33e798e5bfd2a9944696 (patch) | |
tree | b63a4232ab077b356f26635dbb9bb971914933a8 /tools/perf/scripts/python/stackcollapse.py | |
parent | kernel/kcmp.c: Use new infrastructure to fix deadlocks in execve (diff) | |
download | linux-dev-2db9dbf71bf98d02a0bf33e798e5bfd2a9944696.tar.xz linux-dev-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 <bernd.edlinger@hotmail.de>
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions