delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/27/16:29:28

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Wed, 27 Oct 1999 16:31:20 -0400
From: Chris Faylor <cgf AT cygnus DOT com>
To: Steve Jorgensen <steve AT khoral DOT com>
Cc: cygwin AT sourceware DOT cygnus DOT com, Corinna Vinschen <corinna AT vinschen DOT de>
Subject: Re: Snapshot and CD compatibility problems
Message-ID: <19991027163120.B6229@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: Steve Jorgensen <steve AT khoral DOT com>,
cygwin AT sourceware DOT cygnus DOT com,
Corinna Vinschen <corinna AT vinschen DOT de>
References: <19991027153545 DOT A5318 AT cygnus DOT com> <199910272013 DOT OAA10470 AT benson>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.6i
In-Reply-To: <199910272013.OAA10470@benson>; from Steve Jorgensen on Wed, Oct 27, 1999 at 02:13:52PM -0600

On Wed, Oct 27, 1999 at 02:13:52PM -0600, Steve Jorgensen wrote:
>Chris Faylor wrote
>>> On Wed, Oct 27, 1999 at 09:36:33AM -0600, Steve Jorgensen wrote:
>>> >	Well, I created a /etc/passwd and /etc/group.  I guess my
>>> >	confuse lies in that all I did was change the DLL, I didn't mess
>>> >	with the CYGWIN variable or any of the other cygwin settings/config
>>> >	files.  Does the CD cygwin1.dll have different defaults than
>>> >	the snapshot?
>>> 
>>> Yes.  The default is "nontsec" on the Cygwin CD.  The snapshots have had
>>> "ntsec" turned on so that people will test it.
>
>	Ok, well, I went back and played with the 10/25/1999 snapshot dll,
>	and setting nontsec vs ntsec.  If I use nontsec, this mode
>	causes the dll to change permissions on files I write out such that
>	I can't write to those files again.  If I leave it in ntsec mode and
>	add appropriate /etc/passwd entries, it works, but file access is
>	slower, presumable because it is looking up permissions.
>
>	Is there any way to get the snapshot to work under "nontsec" as the
>	CD version did?

The "nontsec" code on the snapshot is equivalent to the CD.  I just
turned off the ntsec on the CD.

I don't know what you're referring to when you say that this causes the
"DLL to change permissions".  What are the permissions?  Can you give
an example?

>	I'm not real clear on what it means when you say that the DLL
>	is compatible, but the library and object files may not be, but
>	I'm guessing there is something else I need to do when I play
>	with snapshots.

The DLL is compatible with older executables.  Executables are files
whose filename ends in ".exe".

Older object files and libraries may not be compatible with the DLL.
They may refer to globals that have been moved from libcygwin.a into
the DLL itself.

That means that you have to recompile them.  Object files are filenames
that end in '.o'.  Libraries are filenames which end with '.a'.

If you still don't get this, then maybe somebody else on the list can
try to explain.  I'm pretty much explained out.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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