This is the mail archive of the cygwin-developers@sourceware.cygnus.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]

Re: ntsec patch 10, 2nd try :-(




Chris Faylor wrote:
> 
> On Sat, Aug 07, 1999 at 11:15:09PM +0200, Corinna Vinschen wrote:
> >Hi Chris,
> >
> >forget patch 10, it has a dumb error. I have attached a corrected version.
> >The ChangeLog remains the same. I have integrated your p.gz change, too.
> 
> I've already applied it.  Could you generate a patch against the enclosed
> version of security.cc?

Only shared.cc has changed:

--- shared.cc.old       Sat Aug 07 23:40:02 1999
+++ shared.cc   Sat Aug 07 22:44:07 1999
@@ -222,7 +222,7 @@ sec_user (PVOID sa_buf, PSID sid2, BOOL
     return inherit ? &sec_none_nih : &sec_none;

   size_t acl_len = sizeof (ACL)
-                   + 3 * (sizeof (ACCESS_ALLOWED_ACE) - sizeof (DWORD))
+                   + 4 * (sizeof (ACCESS_ALLOWED_ACE) - sizeof (DWORD))
                    + GetLengthSid (sid)
                    + GetLengthSid (get_admin_sid ())
                    + GetLengthSid (get_system_sid ())
@@ -252,7 +252,7 @@ sec_user (PVOID sa_buf, PSID sid2, BOOL
   if (! AddAccessAllowedAce (acl, ACL_REVISION,
                              SPECIFIC_RIGHTS_ALL | STANDARD_RIGHTS_ALL,
                              get_creator_owner_sid ()))
-    debug_printf("AddAccessAllowedAce(system) %E");
+    debug_printf("AddAccessAllowedAce(creator_owner) %E");

   if (sid2)
     if (! AddAccessAllowedAce (acl, ACL_REVISION,

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