On Tue, 07 Jun 2022 10:22:43 +0200
Johannes Berg <johan...@sipsolutions.net> wrote:

> On Mon, 2022-06-06 at 18:16 -0500, Glenn Washburn wrote:
> >  GDB says that the process was terminated with
> > SIGKILL, which I'm guessing is why uml_console_exit() is not run.
> > 
> 
> https://patchwork.ozlabs.org/project/linux-um/patch/20220520194536.1acbb414a2d1.I1d71bab01d45f7f8e446df6e98547a7989338208@changeid/

Great! I've tested that this solves the SIGKILL issue and that stty
reports the same values before and after running a UML instance.

However, the flags re not the same (before 32770 and after 34818, in
decimal). It seems that the O_NONBLOCK flag is not being restored to
its original value (off).

So now the terminal is not messed up, but the flags are still an issue
for me because having stdin/stdout in non-blocking mode breaks some of
my scripts using uml.

Glenn

_______________________________________________
linux-um mailing list
linux-um@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-um

Reply via email to