delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/07/24/22:39:00

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=w1t
arFe0IAbszX4w6EuFHk8dYzFj6+zOGaHN+t0cJx7tPIJM7qF8r+5FWGak7TueJFG
7IvO/NGDfGwDA0jggN1J+moA5iMMBOpCL3JoOt/6VoIPab1U4CdwhIk7U+pr5QcV
rnNiBRcccPBUwe7vU86DmvFs38/T4NuakRhsX9tI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:message-id:date:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=AHx02RJYo
WFBxFFUiAbhFORq7Us=; b=ugSQbrQdWAOCK9GzTOkTTK1pfgNBrde70UbT1APRb
hIh4ElD3zTfukb/D5pmm2RKSizB0GJGRmo20GziAtrKIObA0YSImsDyt+Mn6+aqD
DNFZmmweoESovqfFmzsrQFeNvq+IkVrOsLg56pijHrOkU0jJ2xDspqCldtLtg2F1
7I=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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
X-Spam-SWARE-Status: No, score=-2.8 required=5.0 tests=AWL,BAYES_50,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_W,RCVD_IN_HOSTKARMA_WL,RDNS_NONE,SPF_PASS autolearn=no version=3.3.1
X-Forefront-Antispam-Report: CIP:132.245.1.149;KIP:(null);UIP:(null);IPV:NLI;H:BLUPRD0512HT001.namprd05.prod.outlook.com;RD:none;EFVD:NLI
X-SpamScore: -1
X-BigFish: PS-1(z21eIzzz1f42h208ch1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzz177df4h17326ah1de097h1de096h8275bhz2fh2a8h668h839h947hd25he5bhf0ah1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h1765h18e1h190ch1946h19b4h19c3h19ceh1ad9h1b0ah1d0ch1d2eh1d3fh1dc1h1dfeh1dffh1e1dh1f5fh1155h)
Received-SPF: pass (mail9-co1: domain of coverity.com designates 132.245.1.149 as permitted sender) client-ip=132.245.1.149; envelope-from=thonermann AT coverity DOT com; helo=BLUPRD0512HT001.namprd05.prod.outlook.com ;.outlook.com ;
Message-ID: <51F08F9D.6020606@coverity.com>
Date: Wed, 24 Jul 2013 22:38:21 -0400
From: Tom Honermann <thonermann AT coverity DOT com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7
MIME-Version: 1.0
To: <cygwin AT cygwin DOT com>
Subject: Process command lines for Cygwin processes no longer viewable in Windows task manager as of Cygwin 1.7.21
X-OriginatorOrg: coverity.com
X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn%

It seems that process command lines for Cygwin processes are no longer 
viewable in Windows task manager, SysInternals Process Explorer, or 
other similar tools.  I suspect, but have not verified, that this change 
occurred with the Cygwin 1.7.21 release.  Process command lines do 
appear as expected for older Cygwin releases (at least 1.7.9-1.  Yes, I 
know that is ancient).

My suspicion that this started with 1.7.21 is based on Corinna's 
comments in http://cygwin.com/ml/cygwin/2013-07/msg00343.html and other 
anecdotal evidence of new problems occurring as of that release.

I know of at least one other (non-Cygwin) product that is affected by 
this issue because it relies on the ability to retrieve command lines 
for Cygwin processes using the (fairly common) technique of querying the 
Windows Process Environment Block (PEB) and Process Parameters block 
that is populated when a process is started.  The process parameters 
block includes the process command line and is populated based on the 
command line supplied to CreateProcess() - which Corinna's comments 
linked above suggest is now called without command line parameters.

Tom.


--
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

- Raw text -


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