Re: set_fs_pwd/set_fs_root(tsk, NULL, NULL) are OK?

From: Horst von Brand (vonbrand@inf.utfsm.cl)
Date: Thu May 04 2000 - 16:09:37 EST


Alan Cox <alan@lxorguk.ukuu.org.uk> dijo:
> In-Reply-To: <Pine.LNX.4.21.0005041715570.1446-100000@saturn.homenet> from "Tig
> ***ran Aivazian" at May 04, 2000 05:19:44 PM
> > I want to force a process to have no cwd/root (yes, a radical concept but
> > very convenient for some VFS features, e.g. when forcibly unmounting a

> Nope. You want to force the process to have an empty root that is some
> floating non entity object. That avoids special casing. Its basically a
> / that is a 'nonfs'

This would also be a nice idea for assorted daemons.

-- 
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/



This archive was generated by hypermail 2b29 : Sun May 07 2000 - 21:00:16 EST