This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Can "DLL's" & libraries be marked as non-executable?


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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]