summaryrefslogtreecommitdiff
path: root/kernel/locking/rtmutex-debug.c
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2020-03-20 21:27:24 +0100
committerEric W. Biederman <ebiederm@xmission.com>2020-03-25 10:04:01 -0500
commit2db9dbf71bf98d02a0bf33e798e5bfd2a9944696 (patch)
treeb63a4232ab077b356f26635dbb9bb971914933a8 /kernel/locking/rtmutex-debug.c
parent454e3126cb842388e22df6b3ac3da44062c00765 (diff)
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 'kernel/locking/rtmutex-debug.c')
0 files changed, 0 insertions, 0 deletions