delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/02/28/07:17:40

Date: Sun, 28 Feb 1999 14:15:22 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: "Mark E." <snowball3 AT usa DOT net>
cc: djgpp-workers AT delorie DOT com
Subject: Re: updated chroot
In-Reply-To: <199902251639.QAA126942@out2.ibm.net>
Message-ID: <Pine.SUN.3.91.990228141501.5950M-100000@is>
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

On Thu, 25 Feb 1999, Mark E. wrote:

> > I don't see this restriction in the man pages I can access.  It seems that
> > a relative path is allowed.
> 
> Here I'm saying paths must be relative to the previous root, which is 
> __djgpp_root.

Sorry, I just didn't read the source correctly.  You are right.

> BTW, how many underscores should I be using?

Two is better for externals that aren't supposed to be used by
applications.

> That would work. From what you said previously about making fchroot 
> work, I take it there's currently no way set the root path based on a file 
> handle? 

The handle should come from opening a directory, and DOS/Windows don't
allow to open a directory.  So we cannot use a real handle.

- Raw text -


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