delorie.com/archives/browse.cgi | search |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=H1L8wBk0qSXbU1aSytW1X1DGEfeLZ+gQ4aN3ncZyzPdf35Dup4zDv | |
ev7D+g6Xee3eod4Et5RQE20LEkC1AEEEDGYvlKlysiEIWowWp4rK/epSTvCjQes2 | |
+EW2N2nIILUCy9ibScFY15QSS2+Z2qErbR1xamWv87taYebGIU2Zwc= | |
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:date:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=tiXJfyaKzr+uzbBby1lCWDhdpIs=; b=FeuY+eOiQFAsNg6M13nQtZu8WwSS | |
O0tT/YRxEkmZ0EhVppPKYmzgDtk7udxPKRk2ZbJCx0fQ68w45pTuxZCf4dHxhVU9 | |
UddpeVFS4ounQEqWAZCoX/VV+vn7iqstIKABR4wdRlb/Ph6gChDGSAyWiF2y4bpb | |
0OilGu7yN7RjFns= | |
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-Spam-SWARE-Status: | No, score=-102.2 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=HX-Languages-Length:870, H*F:D*cygwin.com, foreign |
X-HELO: | mout.kundenserver.de |
Date: | Tue, 12 Mar 2019 09:58:09 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Privilege(s) needed to run top command |
Message-ID: | <20190312085809.GG3785@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <1552323028120-0 DOT post AT n5 DOT nabble DOT com> <87r2bd4003 DOT fsf AT Rainer DOT invalid> <20190311212845 DOT GE3785 AT calimero DOT vinschen DOT de> <87ef7d3x9b DOT fsf AT Rainer DOT invalid> |
MIME-Version: | 1.0 |
In-Reply-To: | <87ef7d3x9b.fsf@Rainer.invalid> |
User-Agent: | Mutt/1.11.3 (2019-02-01) |
--emaGbJjdcutbxKXT Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mar 11 22:40, Achim Gratz wrote: > Corinna Vinschen writes: > > (*) That doesn't mean it's not possible. In theory all Cygwin > > processes could be opened to allow everyone > > PROCESS_QUERY_LIMITED_INFORMATION access, which would at least > > fill most of /proc/<PID>/stat for foreign processes. > > However, we never did that, so it can't have worked yet. >=20 > Could we make it work under the condition that cygserver is running? If this functionality is really necessary, it should ideally work without having a service running. Another, easier way out would be to allow /proc/<PID>/stat (and perhaps others) to succeed even if the process info can't be grabbed due to permissions. It wouldn't show really useful info, but procps or top would at least show the process. Corinna --=20 Corinna Vinschen Cygwin Maintainer --emaGbJjdcutbxKXT Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlyHdKAACgkQ9TYGna5E T6Bw6g/+KZHdgmDLAiU14K28EcrrVQkk5McI3BfluQfc4+seova/sajjz0KESOGl 32Oo7DLKw72cdl7BEvD3mhXQr9M2uk1UX3xa8/3JKcdWhqwcb/cWe1BMBHoFUScw d2bWxPznfJbRoADZ0MP707t7/kWRO8R6ih4ztvtq8wmKjecHHbC4G/AyPBqA7TYM UISTqnslSBttmOdI1yy+pHbf3S+lWYrLrveyWCBBACIN6D9OhQFRm6Zhpwg9epWs qclaz/BpBVzVTYINJbizhhmwa99sbdzBK5gRAewoeRta0zm35GkVF8W91qRgIaNk i5AMOP1lMwqUOnBPjPfuxFwfLhlftVAToD5/bkSr7eiD09sEqK97sARURfxCsFcs vs3e9fIlo7poCCEytyPwixUks525yur3GLfcMx03mP2IdB2GHnNvJOBea6UMTeaI lfFjhv6M4ZskAbivf7qQ21wZea6KN17aqIuyXtvWwDeLFmzaFa1R+R34sWNKB95Q BtT4KZKJzNPhzx8F1sGamfpND1Typg12oNu0zcHBpePnrqjZ3WeZlF1WHGTVp71I 7/5laVyzUmD8P6cZqzowq3HPTvpDyetuuncWbXMTni4LN78nZYVwrcZh8YUB+JMD f2kSBq8myeYSWIzS3bdFmeCuew/1/o4AcM5NFaBiIxD877kOYAs= =kKKD -----END PGP SIGNATURE----- --emaGbJjdcutbxKXT--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |