[lkml]   [2020]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/4] Use new infrastructure to fix deadlocks in execve
This is a follow up on Eric's patch series to
fix the deadlocks observed with ptracing when execve
in multi-threaded applications.

This fixes the simple and most important case where
the cred_guard_mutex causes strace to deadlock.

This also adds a test case (which is only partially
fixed so far, the rest of the fixes will follow

Two trivial comment fixes are also included.

Bernd Edlinger (4):
exec: Fix a deadlock in ptrace
selftests/ptrace: add test cases for dead-locks
mm: docs: Fix a comment in process_vm_rw_core
kernel: doc: remove outdated comment in prepare_kernel_cred

kernel/cred.c | 2 -
kernel/fork.c | 4 +-
mm/process_vm_access.c | 2 +-
tools/testing/selftests/ptrace/Makefile | 4 +-
tools/testing/selftests/ptrace/vmaccess.c | 86 +++++++++++++++++++++++++++++++
5 files changed, 91 insertions(+), 7 deletions(-)
create mode 100644 tools/testing/selftests/ptrace/vmaccess.c


 \ /
  Last update: 2020-03-10 14:44    [W:0.275 / U:3.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site