This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: [Patch] *** CreateFileMapping, Win32 error 5. Terminating.
- From: Corinna Vinschen <cygwin-patches at cygwin dot com>
- To: cygwin-patches at cygwin dot com
- Date: Thu, 16 Oct 2003 15:34:07 +0200
- Subject: Re: [Patch] *** CreateFileMapping, Win32 error 5. Terminating.
- References: <3.0.5.32.20031015222235.00825920@incoming.verizon.net>
On Wed, Oct 15, 2003 at 10:22:35PM -0400, Pierre A. Humblet wrote:
> 2003-10-15 Pierre Humblet <pierre.humblet@ieee.org>
>
> * syscalls.cc (seteuid32): Always construct a default DACL including
> the new sid, Admins and SYSTEM and copy it to the new thread token.
> * security.cc (create_token): Use a NULL default DACL in NtCreateToken.
I assume you have tested it also with an external token, don't you?
I'm a bit concerned that the code also tries to modify the external
token. Is that actually unavoidable? Isn't the problem just a
typical problem of a self-created token?
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.