This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Deimpersonate while accessing HKLM


On Wed, Oct 27, 2004 at 08:33:01PM -0400, Pierre A. Humblet wrote:
>This patch should fix the chdir problem reported by Jason Tishler.  It
>deimpersonates while reading the mounts and cygdrive in HKLM.
>
>For ease of initialization, the unused cygheap->user tokens are now set
>to NO_IMPERSONATION (instead of INVALID_HANDLE_VALUE), which is
>#defined as NULL.  If the argument of cygwin_set_impersonation_token()
>is INVALID_HANDLE_VALUE, it is changed to NO_IMPERSONATION.

As mentioned in cygwin-developers, go ahead and check this in, Pierre.

cgf


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]