Home | History | Annotate | Download | only in ttyio
History log of /src/tests/lib/libc/ttyio/t_ptm.c
RevisionDateAuthorComments
 1.3  05-Aug-2025  gutteridge t_ptm.c: now also validate O_CLOFORK can be set
 1.2  17-May-2023  gutteridge branches: 1.2.4;
t_ptm.c: add a test case that passes extra flags

Validate that O_NONBLOCK and O_CLOEXEC are actually set by
posix_openpt(3), as until circa 9.99.101 they were not.

If/when other flags are added like close-on-fork, this test could be
adjusted. The current concern is with supporting the expectations of
components like vte3, used by various graphical terminal clients.
 1.1  13-Jan-2011  pgoyette Last one for today: move t_ptm test from lib/libc/ to lib/libc/ttyio/
 1.2.4.1  08-Aug-2025  martin Pull up following revision(s) (requested by gutteridge in ticket #8):

tests/lib/libc/ttyio/t_ptm.c: revision 1.3
lib/libc/stdlib/posix_openpt.3: revision 1.11
sys/kern/tty_ptm.c: revision 1.47

tty_ptm.c: support setting O_CLOFORK here as well

t_ptm.c: now also validate O_CLOFORK can be set

posix_openpt.3: note O_CLOFORK is also now supported

RSS XML Feed