exec after seteuid
Corinna Vinschen
cygwin-patches@cygwin.com
Mon Jun 9 13:30:00 GMT 2003
On Sun, Jun 08, 2003 at 05:32:56PM -0400, Pierre A. Humblet wrote:
> 2003-06-09 Pierre Humblet <pierre.humblet@ieee.org>
>
> * 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.
Applied with some minor changes, mainly a bit more comment and a slight
simplification of uinfo_init().
Thanks,
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
More information about the Cygwin-patches
mailing list