* uinfo.cc (uinfo_init): Call reimpersonate to set the main thread's

impersonation token.
This commit is contained in:
Corinna Vinschen 2005-06-21 20:09:31 +00:00
parent 8d5988eff8
commit 4adc3db74e
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2005-06-21 Corinna Vinschen <corinna@vinschen.de>
* uinfo.cc (uinfo_init): Call reimpersonate to set the main thread's
impersonation token.
2005-06-20 Corinna Vinschen <corinna@vinschen.de>
* fhandler_proc.cc (format_proc_partitions): Only list recognized

View File

@ -159,6 +159,7 @@ uinfo_init ()
cygheap->user.curr_primary_token = NO_IMPERSONATION;
cygheap->user.current_token = NO_IMPERSONATION;
cygheap->user.set_saved_sid (); /* Update the original sid */
cygheap->user.reimpersonate ();
}
extern "C" int