[Patch] *** CreateFileMapping, Win32 error 5. Terminating.

2003-10-15 Thread Pierre A. Humblet
The background for this patch was just explained on the Cygwin mailing list. We must make sure that the user sid is present in the default DACL of impersonation tokens, internal as well as external. Thus the place to do it is in seteuid32(), and it becomes useless to create a default DACL in crea

Re: [Patch] *** CreateFileMapping, Win32 error 5. Terminating.

2003-10-16 Thread Corinna Vinschen
On Wed, Oct 15, 2003 at 10:22:35PM -0400, Pierre A. Humblet wrote: > 2003-10-15 Pierre Humblet <[EMAIL PROTECTED]> > > * 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 (cre

Re: [Patch] *** CreateFileMapping, Win32 error 5. Terminating.

2003-10-16 Thread Pierre A. Humblet
Corinna Vinschen wrote: > > On Wed, Oct 15, 2003 at 10:22:35PM -0400, Pierre A. Humblet wrote: > > 2003-10-15 Pierre Humblet <[EMAIL PROTECTED]> > > > > * syscalls.cc (seteuid32): Always construct a default DACL including > > the new sid, Admins and SYSTEM and copy it to the new thre

Re: [Patch] *** CreateFileMapping, Win32 error 5. Terminating.

2003-10-16 Thread Corinna Vinschen
On Thu, Oct 16, 2003 at 11:47:51AM -0400, Pierre A. Humblet wrote: > Corinna Vinschen wrote: > > > > On Wed, Oct 15, 2003 at 10:22:35PM -0400, Pierre A. Humblet wrote: > > > 2003-10-15 Pierre Humblet <[EMAIL PROTECTED]> > > > > > > * syscalls.cc (seteuid32): Always construct a default DACL