This is the mail archive of the cygwin-patches@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: exec after seteuid


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]