delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/29/12:02:52

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Fri, 29 Oct 2004 11:03:10 -0500
From: Brian Ford <ford AT vss DOT fsi DOT com>
Reply-To: cygwin AT cygwin DOT com
To: Reini Urban <rurban AT x-ray DOT at>
cc: cygwin <cygwin AT cygwin DOT com>
Subject: Re: cygwin0.dll invalid current_token
In-Reply-To: <418268C6.9010002@x-ray.at>
Message-ID: <Pine.CYG.4.58.0410291102140.3312@fordpc.vss.fsi.com>
References: <418268C6 DOT 9010002 AT x-ray DOT at>
MIME-Version: 1.0
X-IsSubscribed: yes

On Fri, 29 Oct 2004, Reini Urban wrote:

> After building my first debugging cygwin0.dll from CVS
> I get this initialization problem, after closing all old cygwin
> processes and using the version in /install/bin/
>
> 3 [main] ? 2164 cygheap_user::reimpersonate: ImpersonateLoggedOnUser:
> Win32 error 6
>
> Which tells me that cygheap_user::current_token is an invalid handle.
> Googling for improper initialization on such debug builds didn't help.
>
> I see a lot of code in seteuid(3) which is obviously never called.
> Is there's something more to do?
> Or is CVS borked because of the latest deimpersonation patch?
>
> strace bash --login -i attached

http://www.cygwin.com/ml/cygwin-patches/2004-q4/msg00096.html?

-- 
Brian Ford
Senior Realtime Software Engineer
VITAL - Visual Simulation Systems
FlightSafety International
the best safety device in any aircraft is a well-trained pilot...

--
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/

- Raw text -


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