OSDN Git Service

* spawn.cc (spawn_guts): Call CreateProcess while impersonated,
authorcorinna <corinna>
Mon, 9 Jun 2003 13:29:11 +0000 (13:29 +0000)
committercorinna <corinna>
Mon, 9 Jun 2003 13:29:11 +0000 (13:29 +0000)
commitf60928c9b9d126edc4a5f7ff3c20d2ca87b205ad
tree965399dc329b40abdcaa1511e43061a406abc9da
parent37ac33bf9285ac98fadcc58fb95957214673dd63
* spawn.cc (spawn_guts): Call CreateProcess while impersonated,
when the real {u,g}ids and the groups are original.
Move RevertToSelf and ImpersonateLoggedOnUser to the main line.
* uinfo.cc (uinfo_init): Reorganize. If CreateProcess was called
while impersonated, preserve the uids and gids and call
ImpersonateLoggedOnUser. Preserve the uids and gids on Win9X.

* exceptions.cc (error_start_init): Quote the pgm in the command.
winsup/cygwin/ChangeLog
winsup/cygwin/exceptions.cc
winsup/cygwin/spawn.cc
winsup/cygwin/uinfo.cc