delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/1999/08/07/17:42:15

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
List-Unsubscribe: <mailto:cygwin-developers-unsubscribe-archive-cygwin-developers=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
Message-ID: <37ACA805.76DF48A8@vinschen.de>
Date: Sat, 07 Aug 1999 23:41:25 +0200
From: Corinna Vinschen <corinna AT vinschen DOT de>
X-Mailer: Mozilla 4.6 [en] (WinNT; I)
X-Accept-Language: de,en
MIME-Version: 1.0
To: Chris Faylor <cgf AT cygnus DOT com>
CC: cygdev <cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: Re: ntsec patch 10, 2nd try :-(
References: <37ACA1DD DOT 80CC7DC0 AT vinschen DOT de> <19990807173254 DOT A4955 AT cygnus DOT com>


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,

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019