* uinfo.cc (uinfo_init): Call reimpersonate to set the main thread's
impersonation token.
This commit is contained in:
parent
8d5988eff8
commit
4adc3db74e
|
@ -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>
|
2005-06-20 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler_proc.cc (format_proc_partitions): Only list recognized
|
* fhandler_proc.cc (format_proc_partitions): Only list recognized
|
||||||
|
|
|
@ -159,6 +159,7 @@ uinfo_init ()
|
||||||
cygheap->user.curr_primary_token = NO_IMPERSONATION;
|
cygheap->user.curr_primary_token = NO_IMPERSONATION;
|
||||||
cygheap->user.current_token = NO_IMPERSONATION;
|
cygheap->user.current_token = NO_IMPERSONATION;
|
||||||
cygheap->user.set_saved_sid (); /* Update the original sid */
|
cygheap->user.set_saved_sid (); /* Update the original sid */
|
||||||
|
cygheap->user.reimpersonate ();
|
||||||
}
|
}
|
||||||
|
|
||||||
extern "C" int
|
extern "C" int
|
||||||
|
|
Loading…
Reference in New Issue