Module Name: src Committed By: kamil Date: Sun Nov 6 16:24:16 UTC 2016
Modified Files: src/tests/kernel: t_ptrace.c Log Message: Add new tests attach_pid0 and attach_pid1 to t_ptrace attach_pid0 asserts that it is not valid to attach PID 0 as it is a special kernel process. assert_pid1 asserts that non-root user cannot attach to PID 1 as it is the /dev/init process. This tests is skipped if run as root. Sponsored by <The NetBSD Foundation>. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/tests/kernel/t_ptrace.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.