DescriptionFix test_prctl so that it does not leave behind a stopped process
The stuck process means that running tests over ssh causes ssh to hang
when the tests are finished, because ssh never gets EOF from stdout.
The problem was apparently that PTRACE_KILL does not kill the
subprocess unless you have cleared the wait status queue for the
subprocess first.
Committed: http://code.google.com/p/seccompsandbox/source/detail?r=102
Patch Set 1 #
Total comments: 2
Patch Set 2 : Go back to PTRACE_KILL, but with extra waitpid() call #Messages
Total messages: 5 (0 generated)
|