lkml.org 
[lkml]   [2003]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: pivot_root seems to be broken in 2.4.21-ac4
From
Date
On Maw, 2003-07-22 at 23:14, Mika Penttilä wrote:
> /sbin/init used to start up with files->count > 1 and does
> close(0);close(1);close(2); -> kernel thread fds close.
>
> Now with unshare_files() and init's files->count ==1 the kernel threads
> /dev/console fds remain open. But one could ask of course so what :)

In other words the kernel side got caught out because it assumed
the bogus thread behaviour and needs some close() calls adding. That
would make sense.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:1.248 / U:0.184 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site