X-Spam-Check-By: sourceware.org Message-ID: <4693D827.5070609@tlinx.org> Date: Tue, 10 Jul 2007 12:04:07 -0700 From: Linda Walsh Reply-To: cygwin AT tlinx DOT org, cygwin AT cygwin DOT com User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: dll libraries marked for random execution? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Pardon me, but I have some questions about libraries under cygwin if anyone knows... If there's a doc somewhere that answers these questions, a pointer to it would be appreciated. Are all dll libraries supposed to be invocable as executables? What about libraries with ".a" extensions? I looked on my SuSE linux system and none of the ".a" files are marked executable though most of the ".so" files are marked executable. If something is not supposed to be an executable, wouldn't it be better administrative practice (if not better security practice) to mark it as non-executable? Isn't ".so" used for sharable libraries and ".a" is used to bind the routines into the resultant binary? I was under the impression that usually ".dll" files were shared under NT, but all the libraries in "/usr/lib" and "/lib" are marked ".a". Many seem to come in pairs: .dll.a and .a but if they end with ".a" does that imply they are linked into the final binary (not shared)? I'm under the impression that certain files with names of the form cyg.dll, in /windows/system32, are sharable. But it seems like most (all?) of the "standard" (non cygwin specific) libraries have the ".a" extension. If non-cygwin support libraries are all unsharable with ".a" extensions does that imply there "could" be ".so" files to enable the libraries being shared? I'd like to get rid of the "executable" bit being set on files that are not really executable. Besides being bad practice, it also creates problems when looking for completion values in the shell. Seem to remember some other issues related to dll's being marked as executable, but don't recall what they were off-hand... Tnx, Linda -- 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/