opnsense-src/tests/sys
John Baldwin 57c74f5b64 Do not allow a process to reap an orphan (a child currently being
traced by another process such as a debugger). The parent process does
need to check for matching orphan pids to avoid returning ECHILD if an
orphan has exited, but it should not return the exited status for the
child until after the debugger has detached from the orphan process
either explicitly or implicitly via wait().

Add two tests for for this case: one where the debugger is the direct
child (thus the parent has a non-empty children list) and one where
the debugger is not a direct child (so the only "child" of the parent
is the orphan).

Differential Revision:	https://reviews.freebsd.org/D2644
Reviewed by:	kib
MFC after:	2 weeks
2015-05-26 10:29:37 +00:00
..
aio Adjust CFLAGS to find freebsd_test_suite/macros.h 2015-04-28 10:59:06 +00:00
fifo Integrate tools/regression/fifo into the FreeBSD test suite as tests/sys/fifo 2015-04-27 08:15:17 +00:00
file Integrate tools/regression/fifo into the FreeBSD test suite as tests/sys/fifo 2015-04-27 08:15:17 +00:00
kern Do not allow a process to reap an orphan (a child currently being 2015-05-26 10:29:37 +00:00
kqueue Integrate tools/regression/kqueue into the FreeBSD test suite as 2015-04-27 07:37:48 +00:00
mqueue Use PLAIN_REQUIRE_KERNEL_MODULE to require "mqueuefs" 2015-04-28 10:56:59 +00:00
netinet Use PROGS instead of PROG and remove unnecessary SRCS?= assignment 2014-11-08 03:20:56 +00:00
opencrypto Add some new modes to OpenCrypto. These modes are AES-ICM (can be used 2014-12-12 19:56:36 +00:00
pjdfstest Integrate pjdfstest test suite execution into kyua 2014-11-03 07:18:42 +00:00
vm Move tests/sys/kern/mmap_test to tests/sys/vm/mmap_test 2015-04-27 17:53:09 +00:00
Makefile Move tests/sys/kern/mmap_test to tests/sys/vm/mmap_test 2015-04-27 17:53:09 +00:00