Up to [cvs.NetBSD.org] / src / tests / kernel
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Pull up following revision(s) (requested by 1922): tests/kernel/Makefile: revision 1.83 sys/sys/filedesc.h: revision 1.71 distrib/sets/lists/tests/mi: revision 1.1346 tests/kernel/h_cloexec.c: revision 1.1 tests/kernel/t_cloexec.c: revision 1.1 sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.122 distrib/sets/lists/debug/mi: revision 1.454 tests/kernel/t_cloexec: New tests for close-on-exec. Verified that the following tests fail on a netbsd-10 kernel: - clonedev_posixspawn - dup3_posixspawn - fcntldupfd_posixspawn PR kern/58822: close-on-exec is broken for dup3 and opening cloning devices sys/filedesc.h: Add a note about writing to ff_exclose. No functional change intended -- just a reminder to avoid repeating a class of bugs we've had. PR kern/58822: close-on-exec is broken for dup3 and opening cloning devices netbsd32_ioctl: Use fd_set_exclose instead of open-coding it. No functional change intended -- this just reduces unnecessary copies of open-coded logic which, when copied incompletely, led to: PR kern/58822: close-on-exec is broken for dup3 and opening cloning devices
Pull up following revision(s) (requested by riastradh in ticket #1007): tests/kernel/Makefile: revision 1.83 sys/sys/filedesc.h: revision 1.71 distrib/sets/lists/tests/mi: revision 1.1346 tests/kernel/h_cloexec.c: revision 1.1 tests/kernel/t_cloexec.c: revision 1.1 sys/compat/netbsd32/netbsd32_ioctl.c: revision 1.122 distrib/sets/lists/debug/mi: revision 1.454 tests/kernel/t_cloexec: New tests for close-on-exec. Verified that the following tests fail on a netbsd-10 kernel: - clonedev_posixspawn - dup3_posixspawn - fcntldupfd_posixspawn PR kern/58822: close-on-exec is broken for dup3 and opening cloning devices sys/filedesc.h: Add a note about writing to ff_exclose. No functional change intended -- just a reminder to avoid repeating a class of bugs we've had. PR kern/58822: close-on-exec is broken for dup3 and opening cloning devices netbsd32_ioctl: Use fd_set_exclose instead of open-coding it. No functional change intended -- this just reduces unnecessary copies of open-coded logic which, when copied incompletely, led to: PR kern/58822: close-on-exec is broken for dup3 and opening cloning devices
file h_cloexec.c was added on branch netbsd-9 on 2024-11-18 17:38:03 +0000
file h_cloexec.c was added on branch netbsd-10 on 2024-11-17 16:16:10 +0000
tests/kernel/t_cloexec: New tests for close-on-exec. Verified that the following tests fail on a netbsd-10 kernel: - clonedev_posixspawn - dup3_posixspawn - fcntldupfd_posixspawn PR kern/58822: close-on-exec is broken for dup3 and opening cloning devices