delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/11/30/05:48:29

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: <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=-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 <corinna-cygwin AT cygwin DOT com>
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: <CAOTD34ZFH5E3r3AuDOXctss46e1hoU2f9pwE1mt4L674J2Ak_A AT mail DOT gmail DOT com> <20161117140012 DOT GA23664 AT calimero DOT vinschen DOT de> <CAOTD34Y9TRq2Qq8Mn2awTf9SCgz0qnbBa-a117pkSEvz9gaHKQ AT mail DOT gmail DOT com> <98eb08bf-5012-fe14-b10c-241b427c4366 AT cs DOT umass DOT edu> <CAOTD34bPTUkKiHSmqvczz6juePBD=6PyzabDFfHpYL_cFzyf9A AT mail DOT gmail DOT com> <2925977 DOT 20161129192741 AT yandex DOT ru>
MIME-Version: 1.0
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--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019