[PATCH 10/26] ptrace: Simplify ptrace_detach & exit_ptrace

2017-06-06 Thread Eric W. Biederman
Call __ptrace_unlink not __ptrace_detach. As it is guaranteed that ptrace_detach will never be called on a process that has or may exit. Rename __ptrace_detach __exit_ptrace as exit_ptrace is now it's only caller and the corrected name is less confusing. Signed-off-by: "Eric W. Biederman"

[PATCH 10/26] ptrace: Simplify ptrace_detach & exit_ptrace

2017-06-06 Thread Eric W. Biederman
Call __ptrace_unlink not __ptrace_detach. As it is guaranteed that ptrace_detach will never be called on a process that has or may exit. Rename __ptrace_detach __exit_ptrace as exit_ptrace is now it's only caller and the corrected name is less confusing. Signed-off-by: "Eric W. Biederman" ---