commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r805680 - /commons/sandbox/runtime/trunk/src/main/native/os/win32/platform.c
Date Wed, 19 Aug 2009 06:50:32 GMT
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,



Mime
View raw message