Skip to content
Commit d12317de authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov
Browse files

ptrace: call wait only if PTRACE_SEIZE was successful



and print errno for the wait syscall in an error case

Signed-off-by: default avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: default avatarPavel Emelyanov <xemul@parallels.com>
parent 99801e72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment