You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by mt...@apache.org on 2009/08/19 08:50:32 UTC

svn commit: r805680 - /commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c

Author: mturk
Date: Wed Aug 19 06:50:32 2009
New Revision: 805680

URL: http://svn.apache.org/viewvc?rev=805680&view=rev
Log:
Do not prealloc generic security descriptors

Modified:
    commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c

Modified: commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c?rev=805680&r1=805679&r2=805680&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c (original)
+++ commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c Wed Aug 19 06:50:32 2009
@@ -54,17 +54,10 @@
     /*
      * Create standard security descriptors
      */
-    ACR_GetSecurityDescriptor(INVALID_HANDLE_VALUE,
-                              GENERIC_ALL,
-                              0);
     /* All file access to Admins */
     ACR_GetSecurityDescriptor(INVALID_HANDLE_VALUE,
                               GENERIC_ALL | FILE_ALL_ACCESS,
                               0);
-    /* RWX access to Authenticated users */
-    ACR_GetSecurityDescriptor(INVALID_HANDLE_VALUE,
-                              GENERIC_ALL,
-                              GENERIC_READ | GENERIC_WRITE | GENERIC_EXECUTE);
     /* RWX file access to Authenticated users */
     ACR_GetSecurityDescriptor(INVALID_HANDLE_VALUE,
                               GENERIC_ALL | FILE_ALL_ACCESS,