commit | 0b1007c3578569469a6fab6ae5cca918ccdc3ee1 | [log] [tgz] |
---|---|---|
author | Tejun Heo <tj@kernel.org> | Thu Jun 02 11:13:59 2011 +0200 |
committer | Oleg Nesterov <oleg@redhat.com> | Sat Jun 04 18:17:09 2011 +0200 |
tree | f6a5254c6f8caeb843fc1a130f7642b9a55a2694 | |
parent | 23c79d31a3dd2602ee1a5ff31303b2d7a2d3c159 [diff] |
ptrace: remove silly wait_trap variable from ptrace_attach() Remove local variable wait_trap which determines whether to wait for !TRAPPING or not and simply wait for it if attach was successful. -v2: Oleg pointed out wait should happen iff attach was successful. Signed-off-by: Tejun Heo <tj@kernel.org> Cc: Oleg Nesterov <oleg@redhat.com> Signed-off-by: Oleg Nesterov <oleg@redhat.com>