delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/16/22:02:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sun, 16 Jan 2005 22:02:12 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Yitzchak Scott-Thoennes <sthoenna AT efn DOT org>
cc: cygwin AT cygwin DOT com
Subject: Re: Can "DLL's" & libraries be marked as non-executable?
In-Reply-To: <20050117013942.GA3984@efn.org>
Message-ID: <Pine.GSO.4.61.0501162201020.14154@slinky.cs.nyu.edu>
References: <41E9D722 DOT 3010306 AT tlinx DOT org> <009001c4fba2$54223c20$e6ec6f83 AT robinson DOT cam DOT ac DOT uk> <41EAF139 DOT 6070102 AT tlinx DOT org> <41EAFB0B DOT 8080501 AT familiehaase DOT de> <20050117011343 DOT GE12175 AT trixie DOT casa DOT cgf DOT cx> <20050117013942 DOT GA3984 AT efn DOT org>
MIME-Version: 1.0

On Sun, 16 Jan 2005, Yitzchak Scott-Thoennes wrote:

> On Sun, Jan 16, 2005 at 08:13:43PM -0500, Christopher Faylor wrote:
> > On Mon, Jan 17, 2005 at 12:38:51AM +0100, Gerrit P. Haase wrote:
> > >>More to the point, what would "break" in the cygwin environment,
> > >
> > >Try to chmod 644 any dll and call a program that uses this dll.  This
> > >fails for me (on NT4 with NTFS), if it succeeds for you, fine.  Change
> > >the permissions as you like it;)
> >
> > I think what's being asked is that we make a special case for dlls so
> > that, even if the OS says they are executable, cygwin will not call them
> > executable.
>
> <pedant>
> But that's not possible without opening them; I can very well have
> a program file or script named foo.dll that I want to be exectutable.
> </pedant>

Very true.  Not only that, if this were in place and for some reason you
*did* get a real DLL without the "execute file" ACL, there would be no way
of either checking this or setting it via Cygwin means.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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