lkml.org 
[lkml]   [2020]   [Jan]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] early init: open /dev/console with O_LARGEFILE
On Wed, Jan 1, 2020 at 2:50 PM Arvind Sankar <nivedita@alum.mit.edu> wrote:
>
> Shouldn't that only affect init though? The getty's it spawns should be
> in their own sessions.

They *should* be in their own sessions, and clearly this problem
doesn't seem to really affect much anybody else.

But I think youling has some limited and/or odd init userspace, and I
think it gets confused.

So my theory is that because of the file descriptor leak, that "forget
the old controlling tty" doesn't happen, and then subsequent tty opens
don't do the right thing.

Maybe.

But it's the only real semantic change I can see in that whole patch.

Linus

\
 
 \ /
  Last update: 2020-01-02 00:02    [W:0.080 / U:6.748 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site