OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20c7853
)
* uinfo.cc (uinfo_init): Call reimpersonate to set the main thread's
author
corinna
<corinna>
Tue, 21 Jun 2005 20:09:30 +0000
(20:09 +0000)
committer
corinna
<corinna>
Tue, 21 Jun 2005 20:09:30 +0000
(20:09 +0000)
impersonation token.
winsup/cygwin/ChangeLog
patch
|
blob
|
history
winsup/cygwin/uinfo.cc
patch
|
blob
|
history
diff --git
a/winsup/cygwin/ChangeLog
b/winsup/cygwin/ChangeLog
index
049f82e
..
a3fe9a3
100644
(file)
--- a/
winsup/cygwin/ChangeLog
+++ b/
winsup/cygwin/ChangeLog
@@
-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
diff --git
a/winsup/cygwin/uinfo.cc
b/winsup/cygwin/uinfo.cc
index
55b6b6c
..
d63f93d
100644
(file)
--- 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