delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
Date: | Sun, 30 Apr 2006 00:48:42 -0400 |
From: | Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Truncated Environment Variables? - using Cygwin + GetEnvironmentStrings() WIN32 API |
Message-ID: | <20060430044842.GA12788@trixie.casa.cgf.cx> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <043020060332 DOT 28083 DOT 44542FE70000653100006DB322007614380A050E040D0C079D0A AT comcast DOT net> |
Mime-Version: | 1.0 |
In-Reply-To: | <043020060332.28083.44542FE70000653100006DB322007614380A050E040D0C079D0A@comcast.net> |
User-Agent: | Mutt/1.5.11 |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On Sun, Apr 30, 2006 at 03:32:55AM +0000, Eric Blake wrote: >On Sun, Apr 30, 2006 at 04:12:52AM +0100, Kaveh Goudarzi wrote: >>I'm working on an app which attempts to get the environment of running >>cygwin apps. It does this by running the GetEnvironmentStrings() win32 >>api call in the context of the running cygwin app (code injection). > >That is somewhat risky, as recent threads have discussed how windows >update does a code injection that interferes with cygwin and deadlocks >the processor into 100% utilization. Actually, it is unlikely that this is as simple as "code injection causes problems". I was playing with this technique a while ago with cygwin programs and I never saw the rumored 100% CPU utilization. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |