Subject: Re: using mount_* to create chroot goals?
To: Jaromir Dolecek <jdolecek@netbsd.org>
From: Andrew Cagney <cagney@mac.com>
List: current-users
Date: 04/06/2002 15:47:53
> Why 'using mount_* facilities' ? Do you mean mount_null etc to avoid
> copying libraries around?

Yes.  Mapping/copying just the things that the process expects into its 
file-system space while hideing everything else.

Andrew


> Jaromir
> 
> Andrew Cagney wrote:
> 
>> Hello,
>> 
>> Are there any examples of how to create a chroot jail (for all those 
>> nasty daemons) using the mount_* facilities?  Perhaphs a mount_chroot is 
>> needed?
>> 
>> (or is this silly idea of the day)
>> 
>> Andrew