From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3242 invoked by alias); 12 Mar 2019 08:58:13 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 3234 invoked by uid 89); 12 Mar 2019 08:58:13 -0000 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 Received: from mout.kundenserver.de (HELO mout.kundenserver.de) (212.227.126.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 12 Mar 2019 08:58:12 +0000 Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N7iOw-1gyhX92AaY-014l4V for ; Tue, 12 Mar 2019 09:58:09 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id 29AC8A80744; Tue, 12 Mar 2019 09:58:09 +0100 (CET) Date: Tue, 12 Mar 2019 08:58:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Privilege(s) needed to run top command Message-ID: <20190312085809.GG3785@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <1552323028120-0.post@n5.nabble.com> <87r2bd4003.fsf@Rainer.invalid> <20190311212845.GE3785@calimero.vinschen.de> <87ef7d3x9b.fsf@Rainer.invalid> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="emaGbJjdcutbxKXT" Content-Disposition: inline In-Reply-To: <87ef7d3x9b.fsf@Rainer.invalid> User-Agent: Mutt/1.11.3 (2019-02-01) X-SW-Source: 2019-03/txt/msg00280.txt.bz2 --emaGbJjdcutbxKXT Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 851 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//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//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" Content-length: 833 -----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--