summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorkamil <kamil@NetBSD.org>2018-03-07 10:53:55 +0000
committerkamil <kamil@NetBSD.org>2018-03-07 10:53:55 +0000
commit9be040e2e6eea4e03306ec32ba74d224077858a4 (patch)
tree163c9ffa1b152b48841e7751f9971c454da4126f /sys/dev
parent59e1bf147d803488e82e307fbb50eb5634aeb71b (diff)
ATF: Correct a race bug in attach2 (t_ptrace_wait*)
At the end of the test we resume a tracer and expect to observe it to collect the debuggee. We cannot from a parent point of view wait for collecting it with WNOHANG without a race. Remove the WNOHANG option from wait*(2) call. This corrects one type of race. This test is still racy for some other and unknown reason and this is being investigated. Sponsored by <The NetBSD Foundation>
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions