lkml.org 
[lkml]   [2000]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] root-hopping for pre-2.3.41-3
Date
From
almesber@lrc.di.epfl.ch said:
> H. Peter Anvin wrote:
> > I therefore conclude that doing automatic stuff is pointless and
> > probably harmful. The recommended sequence for root-switching will
> > then look something like (error checking omitted):

> Looks nice, but doesn't quite work. Think of the kernel threads. Some
> of them follow init, but things like rpciod and lockd don't. And there
> are probably plenty of others (USB ? msp3400 ? etc.).

I'd say go with the proposal of the fake root/cwd directory for kernel
threads that don't need access to the filesystem (all of them, I
guess). Cleanest way out, unless you allow them to live without root/cwd.
--
Dr. Horst H. von Brand mailto:vonbrand@inf.utfsm.cl
Departamento de Informatica Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria +56 32 654239
Casilla 110-V, Valparaiso, Chile Fax: +56 32 797513

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

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