This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: set_process_privilege and chown
- From: Corinna Vinschen <cygwin-patches at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Mon, 3 Feb 2003 16:55:38 +0100
- Subject: Re: set_process_privilege and chown
- References: <3.0.5.32.20030203100325.008056f0@mail.attbi.com>
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.