Consistently only use one end of the pipe in the parent and debugger
authorjhb <jhb@FreeBSD.org>
Sun, 31 May 2015 19:43:35 +0000 (19:43 +0000)
committerjhb <jhb@FreeBSD.org>
Sun, 31 May 2015 19:43:35 +0000 (19:43 +0000)
commitd0beba796228c1a13189b6ca07e73613b50f1d32
tree9e37dbcafbd1018e9dc93ced7a763fe27933a6ce
parent3d67e5982eb517e590eaecef0233d7e27f32c35f
Consistently only use one end of the pipe in the parent and debugger
processes and do not rely on EOF due to a close() in the debugger.

PR: 200489
Differential Revision: https://reviews.freebsd.org/D2674
Reviewed by: kib, ngie, rodrigc
tests/sys/kern/ptrace_test.c