X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.2 required=5.0	tests=AWL,BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: Achim Gratz <Stromeko@NexGo.DE>
Subject: peflags warning and tsaware flags
Date: Thu, 26 Apr 2012 15:16:07 +0000 (UTC)
Lines: 25
Message-ID: <loom.20120426T170854-952@post.gmane.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

What is peflags trying to tell me with this warning, which is only present when
the "-v" switch is in effect?


> ash -c "PATH=/bin peflags -t -d -v  /usr/lib/zsh/4.3.12/zsh/zutil.dll"
Warning: file is non-executable but has tsaware set
(/usr/lib/zsh/4.3.12/zsh/zutil.dll).
/usr/lib/zsh/4.3.12/zsh/zutil.dll:
coff(0x230e[+executable_image,+line_nums_stripped,
+local_syms_stripped,+32bit_machine,+sepdbg,+dll])
pe(0x8000[-dynamicbase,+tsaware])

> ash -c "PATH=/bin peflags -t -d  /usr/lib/zsh/4.3.12/zsh/zutil.dll"
/usr/lib/zsh/4.3.12/zsh/zutil.dll: coff(0x230e) pe(0x8000[-dynamicbase,+tsaware])


The file(s) in question are most certainly executable, POSIX file permissions
and cacls are no different than hundreds of other DLL.  Also, I seem to have a
wild mixture of "+tsaware" and "-tsaware".  Can I just set all of them to
"+tsaware" or is that a Bad Idea(TM)?  (I do want to install Cygwin onto a
Terminal Server.)


Achim.



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

