| 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=ANLKciAYKzXDRT0eKCXyATZjkDdMGC7EmNZir96QsxW8wpWpjV4cx | |
| Nm5TXZ2i5K96CahYLt7y+58IuKja1aiw93XwKol/KlUrlXaBIk1nqwOUne82XXeo | |
| 0kmNQ+1Hi0a9ktteb3WktVn0GM1YsBOpxMlLbBfnEagv2bV3DokBno= | |
| 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=I7oW5D71cCXsZ6gz7YdJISNHuus=; b=Xluqa7pVvbjuFzOps85GmrUkDq8H | |
| lt+rHkkKS9b69G4yuvgAMQ8RiNrJ3Pr6Qlyp9WrTgteR5IbL/IqDdUuD8tN5EnTp | |
| FK+8HIa8IOoNjJDroCuJgGhdhL+goOrsgymFXcqsktiX+rdagY9czvTbgAM2Gcl1 | |
| rsJyFSiN+hsIOT8= | |
| 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.1 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy=Greetings, H*F:D*cygwin.com, desktop |
| X-HELO: | mout.kundenserver.de |
| Date: | Tue, 12 Mar 2019 21:59:29 +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: | <20190312205929.GQ3785@calimero.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <20190312111411 DOT GH3785 AT calimero DOT vinschen DOT de> <1552391701449-0 DOT post AT n5 DOT nabble DOT com> <167740c9afacd1bd4f914cae2e19eb01 AT smtp-cloud9 DOT xs4all DOT net> <1552405511657-0 DOT post AT n5 DOT nabble DOT com> <20190312164725 DOT GK3785 AT calimero DOT vinschen DOT de> <1552410026803-0 DOT post AT n5 DOT nabble DOT com> <20190312171339 DOT GM3785 AT calimero DOT vinschen DOT de> <20190312173901 DOT GN3785 AT calimero DOT vinschen DOT de> <20190312202802 DOT GP3785 AT calimero DOT vinschen DOT de> <512910309 DOT 20190312233554 AT yandex DOT ru> |
| MIME-Version: | 1.0 |
| In-Reply-To: | <512910309.20190312233554@yandex.ru> |
| User-Agent: | Mutt/1.11.3 (2019-02-01) |
--eM3kDVniUg+mAxjW Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mar 12 23:35, Andrey Repin wrote: > Greetings, Corinna Vinschen! >=20 > > This was complete nonsense. >=20 > > Actually, the problem was entirely in Cygwin's ps.exe, and it's a > > long-standing problem at that. >=20 > > While the Cygwin DLL collected the complete process list for ps, ps then > > didn't print any process it failed to call OpenProcess on. These are a > > *lot* of processes and the result looked a lot like the list of > > processes in or connected to the current session. >=20 > > The reason for this behaviour was that the image path of a process could > > only be fetched when opening the process. Today I found new > > functionality since Vista which allows to fetch the image path without > > having to open the process, so `ps -W' will print all processes again, > > just as in the good old XP times :} >=20 > Err, but why? PSAPI was available since=E2=80=A6 a long time since. > And it is public API except for isolated processes. Same problem: https://docs.microsoft.com/en-us/windows/desktop/psapi/enumerating-all-proc= esses Corinna --=20 Corinna Vinschen Cygwin Maintainer --eM3kDVniUg+mAxjW Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlyIHbAACgkQ9TYGna5E T6D/dxAAlPJZ2W8DHhhzozSzL2xNrua7/lLic1CouAbo0uFYmH+FKaECscdvS7+W R/uEbLPtcZEpmnZ+edowhDSs4Jg6GBsaTqjPnszoi+NRI52LHH/vWpEDFzy+nqtI ptk4iGNf6XyVW8DaNXSNj3VrxYDmg7oTfSWsOFJWomqcOb7ZaR6j/BfBq/iEvxG1 X6J4T5iCPtlvdboX2hoKbusDi9cdlrx73++3gAbm9UrgLhJITdnWr+gXf2EB5ZAd eIrMLj3zKodTiB6wI/BN46xQhJLkrj3ncT4uce/U5/Y39QuvYZlQ+xyHMbvNgS/c l4f8lZTppk/ipKyOAlxj6n9/kPoQcsvDFoVxF4KUhg8jB/v5qJ7T7baltRiA0wuS 5jnDLi03OKhW1dkfTtYBypIYWD7sA7dED6VbYF8zl2F/0t8DtFGfqawJpo3IQfqd aO77B7QodD9686NcHlHNKvln1UeSD5N28k3OfBqyM0E+XK0fAMjjondKKm0NS1wB FvOHyTrwW3FEVrvUg/ddyOm9yQ0VCAGYvLk/H03gsIH6NLZdkC9L85XG7UmBCv0a xPskY6+Snk9lvbZEUOHhZHcw0fD8JUX92pTvslDyoAm0V7vmvGlbSVxu8ESGL445 KNBAgornCqfVGlIXFrd1/MuHT0X5iIqEnZ378omw2PBQdf1qRsA= =o8Xg -----END PGP SIGNATURE----- --eM3kDVniUg+mAxjW--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |