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=Hnat51jcaR0s0e+JEeRal8VUdfTVnbIjet4WinfhmSg8I55yM4/qN pHLIsNDNx2rl8zh5zV5vPX1EJD8Usw7zQfQ3wzLNG+RF/Cd5nGBpVbkd+HRDpe4E txWHvNXxeTJPdqN3twdpQueP/tie1o0zZB5Isa0iZgScYj84OIvm5c= 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=1hccHe8RkO9F6f4VRs9MoOgjcuo=; b=bLMcRQ4+qkoeA/FjPkK5KmiOSF4h 3LuBuMgnweEHhNEhEbWsJzN0Khe5Ujh9niaKAHIqXwSOnOmIvAh12jPkbiZUfZ9n 4nfMSExvz2i8naWajzdqBmlWHWVPOCnyJopq77dg3g9UMSLL+VMtzavH4qeo4j/u v24pQfadADD0JYU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-101.6 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=H*F:D*cygwin.com X-HELO: drew.franken.de Date: Wed, 30 Nov 2016 11:47:47 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Retrieving per-process environment block? Message-ID: <20161130104747.GE14074@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <20161117140012 DOT GA23664 AT calimero DOT vinschen DOT de> <98eb08bf-5012-fe14-b10c-241b427c4366 AT cs DOT umass DOT edu> <2925977 DOT 20161129192741 AT yandex DOT ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="RhUH2Ysw6aD5utA4" Content-Disposition: inline In-Reply-To: <2925977.20161129192741@yandex.ru> User-Agent: Mutt/1.7.1 (2016-10-04) --RhUH2Ysw6aD5utA4 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Nov 29 19:27, Andrey Repin wrote: > Greetings, Erik Bray! >=20 > > Thanks for the reply. The issue here isn't getting the Windows > > process environment--that can be done, albeit trickily [1]. While > > it's true there are security implications, in this case that is > > handled at the OpenProcess call required to obtain a handle to the > > process. It's true you can't just read the environment from a process > > you don't have permission to. >=20 > > The issue here though is reading the Cygwin process's environment > > which is separate from its Windows environment, and the above > > technique is inapplicable. >=20 > Update Windows environment block when Cygwin environment is updated. Nope. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --RhUH2Ysw6aD5utA4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYPq5TAAoJEPU2Bp2uRE+gcWUP/iv9xwRC/znqAlq4bNSJsado cfT1zUYlpL4KkcFsvcgBMd2YZCbxbSLy7T10QNV0Cq+vbD801fzxFFNyfeBdBmoQ 1XL3S3XM6wD01hkTwyOZZluBg92hiJA0sOyjsWSUj1HdjMY25o7CT756jfK3eBgp WpcnnUoBDqSfhH3LbxLhqbdI/qVRYN3bQF+5F2LWApXzuYqJUc5pnhZYNTz8V3wK QfcqrLyIUEMZKccM7Hbi8zRaVJPndclcjPaXuAYzOwCp4Ca8/C7y/Xw2cU1wMzzo mZ6IkYmLGPmWQnd4NiJejXM7BtP5Ok48tJXS8kbdGxmQO8yjUY9mFzQBgKNenNqK YF32X7ujz3Qvt5FjYOiia8G36FZMLRhkcoknUl5zlv9OLoyD37y+AX77U+sevA/6 4UlRkGN8wNuLdiX0airsXUphV/elGnBa3Xop0Tb5a2dzBtTlfBfGvTym4JiXXFHT LvkNCNbfgQwihC7HSJfJV7yhlWrTsCfV/jWNVHMx2mKjj/qlQpDw2QemUkY24me0 xtC6+wEyPoW9iOsS6ShlKngmWLauvqUVW11NXEdK3E87fFJLqWWT4V+KKxgXi3Gm Tk9rlXhv09/3Ngh+VoZrrJc4eq5wgLksZwASJTui4iZFfhmFce8qMwZZFoccnxKL pr+odLe13ram4Qk7J9jJ =KIRG -----END PGP SIGNATURE----- --RhUH2Ysw6aD5utA4--