delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/10/16/15:34:25

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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=Qm9+rD+nPNUT8919D5oYSGhqleA0jWadZNohfXd+GulFLKo1hg56Y
bLFOXSGGKzVyyfUOthA1FRgWKQcOL2PFkqunCzz1jMTO3M4+urLeM70vb7LfE0I4
xUslz0fbcq8C1sIbc+pf1V2uavVQF8zrOlTRrZvEw92HS2qGXlDpPE=
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:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=7bojrvzLmYWXat/uwio1LRCaaVk=; b=SqQ4uKwFOWUYwE7GsVF5bzdxXaUT
Y42bM4mKAGr/KY/yRABMIm/odAAGPbx4ThtOofvgifzMx2dCZQhFAmKX/A774bjR
MkybadTg2jDYlkpnupYKpohoHy3v+CGK6pD46ewMGhdUpSEsCI+KYik+XihTORK7
DYxcrvBpJoGqGR0=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: Kurt Franke <Kurt-Franke AT web DOT de>
Subject: Re: [ANNOUNCEMENT] Updated: procps-3.2.8-1
Date: Wed, 16 Oct 2013 19:33:43 +0000 (UTC)
Lines: 43
Message-ID: <loom.20131016T211907-532@post.gmane.org>
References: <announce DOT 20131016161501 DOT GE18358 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes

Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:

> Hi folks,
> 
> I took over maintainership for the procps package, which hadn't been
> updated since 2007.  I now update the package to the last procps package
> 3.2.8 from 2009, added a few tweaks, and especially built it for 32 and
> (tada!) 64 bit.
> 
> Please note that with the current Cygwin 1.7.25, procps -f/-l will print
> two question marks in place of the controlling tty for processes which
> don't have a controlling tty.  Usually it should only print a single
> question mark in this case, but the reason here is a minor bug in the
> Cygwin DLL which will be fixed in the next release.  I hope that's not
> too disturbing for the time being.
> 
> Have fun,
> Corinna

Hi Corinna,

could you have a look on the formatting when displaying a sid column, i. e.

$> procps -eo user,pid,ppid,pgrp,tty,stime,cputime,sid,cmd

if now setsid is done, the -1 is used, which is correct displayed in
 /proc/*/sid
but displayed as unsigned value in procps which reads as 4294967295 and 
thus will break the formatting of output.

Or would there be a chance to implement sid handling during
process creation, initialize the sid to pid if there is no one
inherited by parent which should only occure if a cygwin program
is called by a windows program, and always inherit it if the parent
is a cygwin process ?

TIA

Kurt






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