Re: [uml-devel] um: TTY fixes (?)

2012-07-12 Thread Karel Zak
On Tue, Jun 05, 2012 at 05:17:19PM +0200, Karel Zak wrote: > On Tue, Jun 05, 2012 at 02:20:38PM +0200, Richard Weinberger wrote: > > Am 05.06.2012 13:15, schrieb Alan Cox: > > > Actually I'd prefer a clever solution which can spot all the fds are the > > > same proc

Re: [uml-devel] um: TTY fixes (?)

2012-06-05 Thread Karel Zak
he TTY fix and patch util-linux too. I'll follow kernel... so if close-before-vhangup is preferred way than I'll modify util-linux login(1). No problem. Karel -- Karel Zak http://karelzak.blogspot.com --

Re: [uml-devel] um: TTY fixes (?)

2012-06-05 Thread Karel Zak
; if (fd >= 3) close(fd); we use this for pretty long time (17+ years). > If I add: > fclose(stdin); > fclose(stdout); > fclose(stderr); > before the call to vhangup() login works like charm. :-) > > Karel, what do you think? It&