This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: exec after seteuid
- From: Corinna Vinschen <cygwin-patches at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Mon, 9 Jun 2003 15:30:19 +0200
- Subject: Re: exec after seteuid
- References: <3.0.5.32.20030607153456.008051b0@incoming.verizon.net> <3.0.5.32.20030607094044.00805970@mail.attbi.com> <3.0.5.32.20030607094044.00805970@mail.attbi.com> <3.0.5.32.20030607153456.008051b0@incoming.verizon.net> <3.0.5.32.20030608173256.007c6d00@incoming.verizon.net>
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.