set_process_privilege and chown

Corinna Vinschen cygwin-patches@cygwin.com
Mon Feb 3 15:55:00 GMT 2003


On Mon, Feb 03, 2003 at 10:03:25AM -0500, Pierre A. Humblet wrote:
> Corinna,
> 
> Here is a chown related patch, fixing one old and one recent bug.
> 
> 2003/02/03  Pierre Humblet  <pierre.humblet@ieee.org>
> 
> 	* security.h: Add third argument to set_process_privilege.
> 	* autoload.cc: Add OpenThreadToken.
> 	* sec_helper.cc (set_process_privilege): Add and use use_thread argument.
> 	* security.cc (alloc_sd): Modify call to set_process_privilege. Remember
> 	the result in each process. If failed and file owner is not the user, fail.

Applied.

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