Re: [PATCH] drivers/tty: Don't hangup shared ttys

2013-06-11 Thread Greg KH
On Tue, Jun 11, 2013 at 04:19:47PM -0700, Stéphane Marchesin wrote: > On Tue, Jun 11, 2013 at 4:15 PM, Greg KH wrote: > > On Tue, Jun 11, 2013 at 04:03:07PM -0700, Stéphane Marchesin wrote: > >> When quickly restarting X servers, we can run into a situation where > >> one X server quits while

Re: [PATCH] drivers/tty: Don't hangup shared ttys

2013-06-11 Thread Stéphane Marchesin
On Tue, Jun 11, 2013 at 4:15 PM, Greg KH wrote: > On Tue, Jun 11, 2013 at 04:03:07PM -0700, Stéphane Marchesin wrote: >> When quickly restarting X servers, we can run into a situation where >> one X server quits while another one starts on the same tty. For a >> while, two X servers share the

Re: [PATCH] drivers/tty: Don't hangup shared ttys

2013-06-11 Thread Greg KH
On Tue, Jun 11, 2013 at 04:03:07PM -0700, Stéphane Marchesin wrote: > When quickly restarting X servers, we can run into a situation where > one X server quits while another one starts on the same tty. For a > while, two X servers share the tty, and when the old X server > eventually quits, the

[PATCH] drivers/tty: Don't hangup shared ttys

2013-06-11 Thread Stéphane Marchesin
When quickly restarting X servers, we can run into a situation where one X server quits while another one starts on the same tty. For a while, two X servers share the tty, and when the old X server eventually quits, the tty layer hangs up the tty, which among other things stubs out the tty's ioctl

[PATCH] drivers/tty: Don't hangup shared ttys

2013-06-11 Thread Stéphane Marchesin
When quickly restarting X servers, we can run into a situation where one X server quits while another one starts on the same tty. For a while, two X servers share the tty, and when the old X server eventually quits, the tty layer hangs up the tty, which among other things stubs out the tty's ioctl

Re: [PATCH] drivers/tty: Don't hangup shared ttys

2013-06-11 Thread Greg KH
On Tue, Jun 11, 2013 at 04:03:07PM -0700, Stéphane Marchesin wrote: When quickly restarting X servers, we can run into a situation where one X server quits while another one starts on the same tty. For a while, two X servers share the tty, and when the old X server eventually quits, the tty

Re: [PATCH] drivers/tty: Don't hangup shared ttys

2013-06-11 Thread Stéphane Marchesin
On Tue, Jun 11, 2013 at 4:15 PM, Greg KH gre...@linuxfoundation.org wrote: On Tue, Jun 11, 2013 at 04:03:07PM -0700, Stéphane Marchesin wrote: When quickly restarting X servers, we can run into a situation where one X server quits while another one starts on the same tty. For a while, two X

Re: [PATCH] drivers/tty: Don't hangup shared ttys

2013-06-11 Thread Greg KH
On Tue, Jun 11, 2013 at 04:19:47PM -0700, Stéphane Marchesin wrote: On Tue, Jun 11, 2013 at 4:15 PM, Greg KH gre...@linuxfoundation.org wrote: On Tue, Jun 11, 2013 at 04:03:07PM -0700, Stéphane Marchesin wrote: When quickly restarting X servers, we can run into a situation where one X