diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2005-06-22 00:09:31 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2005-06-22 00:09:31 +0400 |
commit | 4adc3db74eeb77b67bea90dfe48d1555b99dfa45 (patch) | |
tree | b5be90067e1458b8333d52ee084ef7b827b483a4 /winsup/cygwin/uinfo.cc | |
parent | 8d5988eff80ad65bafaabcf77ee062be6bdc1f41 (diff) |
* uinfo.cc (uinfo_init): Call reimpersonate to set the main thread's
impersonation token.
Diffstat (limited to 'winsup/cygwin/uinfo.cc')
-rw-r--r-- | winsup/cygwin/uinfo.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc index 55b6b6c5d..d63f93d3d 100644 --- a/winsup/cygwin/uinfo.cc +++ b/winsup/cygwin/uinfo.cc @@ -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 |