delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/03/11/19:20:15

Sender: nate AT cartsys DOT com
Message-ID: <36E584A5.A2226DF8@cartsys.com>
Date: Tue, 09 Mar 1999 12:29:25 -0800
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.1 i586)
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: chroot patches v4
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990309121252 DOT 7248T-100000 AT is>
Reply-To: djgpp-workers AT delorie DOT com

Just thought of this.

A feature missing from `chroot' (unless I miss something) is that on
Unix, the root is inherited across processes.  That is important since
`chroot' is often used for security, so that no matter what the luser
does, they are confined to that directory.

Obviously we can't hope to implement that in general, since it will
require cooperation on the part of the child, which may or may not be
DJGPP-compiled.  Also, I'm not sure if it's important, since security on
MS-DOS is impossible anyway.  But I just wondered if perhaps the
application using `chroot' here (for what are we implementing this,
anyway?  I forget) will expect that.

-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019