Module Name: src Committed By: riz Date: Sat May 19 15:34:32 UTC 2012
Modified Files: src/sys/kern [netbsd-6]: sys_pipe.c src/tests/lib/libc/sys [netbsd-6]: t_pipe2.c Log Message: Pull up following revision(s) (requested by martin in ticket #270): sys/kern/sys_pipe.c: revision 1.136 tests/lib/libc/sys/t_pipe2.c: revision 1.4 tests/lib/libc/sys/t_pipe2.c: revision 1.5 tests/lib/libc/sys/t_pipe2.c: revision 1.6 tests/lib/libc/sys/t_pipe2.c: revision 1.7 Make sure we can deliver two file descriptors for pipe2() before we set up anything special (like close on exec). Fixes PR kern/46457. Add a case for PR kern/46457. This is skipped for the time being, as it reproduces the panic described in the PR. Enable the test for PR kern/46457 now that it does not crash the kernel any more. Fix typo in comment. Simplify the test for PR kern/4645 and make it independend of resource settings. To generate a diff of this commit: cvs rdiff -u -r1.135 -r1.135.2.1 src/sys/kern/sys_pipe.c cvs rdiff -u -r1.3 -r1.3.2.1 src/tests/lib/libc/sys/t_pipe2.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.