The NetBSD Project

CVS log for src/tests/kernel/h_cloexec.c

[BACK] Up to [cvs.NetBSD.org] / src / tests / kernel

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.1.4.2: download - view: text, markup, annotated - select for diffs
Mon Nov 18 17:38:03 2024 UTC (8 weeks ago) by martin
Branches: netbsd-9
Diff to: previous 1.1.4.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.4.1: +48 -0 lines
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

Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sun Nov 17 16:16:10 2024 UTC (8 weeks, 1 day ago) by martin
Branches: netbsd-10
CVS tags: netbsd-10-1-RELEASE
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +48 -0 lines
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

Revision 1.1.4.1
Sun Nov 10 15:57:32 2024 UTC (2 months ago) by martin
Branches: netbsd-9
FILE REMOVED
Changes since revision 1.1: +0 -48 lines
file h_cloexec.c was added on branch netbsd-9 on 2024-11-18 17:38:03 +0000

Revision 1.1.2.1
Sun Nov 10 15:57:32 2024 UTC (2 months ago) by martin
Branches: netbsd-10
FILE REMOVED
Changes since revision 1.1: +0 -48 lines
file h_cloexec.c was added on branch netbsd-10 on 2024-11-17 16:16:10 +0000

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Nov 10 15:57:32 2024 UTC (2 months ago) by riastradh
Branches: MAIN
CVS tags: HEAD
Branch point for: netbsd-9, netbsd-10
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

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>