[LTP] [PATCH] pty/pty07: Restore active console after the testrun
Cyril Hrubis
chrubis@suse.cz
Tue Mar 22 10:34:31 CET 2022
Hi!
> > Ah, right, looking closely at the fzsync, the thread B may be racing
> > against the restoration in the case that something caused premature exit
> > in the thread A.
> >
> > Will move the call back to the start of the cleanup().
> >
> > --
> > Cyril Hrubis
> > chrubis@suse.cz
>
> Why are we using /dev/tty8 instead of allocating a pty with /dev/ptmx?
I do not think that we can VT_ACTIVATE on pseudoterminals, as far as I
can tell we have to have real console for that.
--
Cyril Hrubis
chrubis@suse.cz
More information about the ltp
mailing list