[lkml]   [2012]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Why are not processes HUPped when they open /dev/console?
On Wed, 25 Jan 2012 22:38:40 +0100
Jiri Slaby <> wrote:

> Hello,
> don't you remember by a chance the reason for this test in __tty_hangup:
> if (filp->f_op->write != tty_write)
> The logic there is not to HUP processes that have this tty open via
> /dev/console.

Because if you hang up the console the machine crashes ?

At least that's what used to happen.


 \ /
  Last update: 2012-01-25 22:47    [W:0.036 / U:22.752 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site