Move security information constants.
authorEric Kohl <eric.kohl@reactos.org>
Fri, 23 Jul 2004 09:26:29 +0000 (09:26 +0000)
committerEric Kohl <eric.kohl@reactos.org>
Fri, 23 Jul 2004 09:26:29 +0000 (09:26 +0000)
svn path=/trunk/; revision=10258

reactos/include/defines.h
reactos/include/ntos/security.h

index e9602eb..ebf0f63 100644 (file)
@@ -2310,12 +2310,6 @@ extern "C" {
 #define PURGE_TXCLEAR  (4)
 #define PURGE_RXCLEAR  (8)
 
-/* QueryServiceObjectSecurity */
-#define OWNER_SECURITY_INFORMATION     (0x1L)
-#define GROUP_SECURITY_INFORMATION     (0x2L)
-#define DACL_SECURITY_INFORMATION      (0x4L)
-#define SACL_SECURITY_INFORMATION      (0x8L)
-
 /* ReadEventLog, ReportEvent */
 #define EVENTLOG_FORWARDS_READ (4)
 #define EVENTLOG_BACKWARDS_READ        (8)
index ea77800..cc1b6d0 100644 (file)
@@ -122,20 +122,17 @@ typedef struct _SECURITY_DESCRIPTOR_CONTEXT
 #define DOMAIN_ALIAS_RID_REPLICATOR            (0x228L)
 
 /* ACCESS_MASK */
-#define MAXIMUM_ALLOWED                        (0x2000000L)
+#define MAXIMUM_ALLOWED                        (0x02000000L)
 #define GENERIC_ALL                    (0x10000000L)
 #define GENERIC_EXECUTE                        (0x20000000L)
 
-#define SECURITY_STATIC_TRACKING       (0)
-#define SECURITY_DYNAMIC_TRACKING      (1)
-
 /* Standard rights */
-#define STANDARD_RIGHTS_REQUIRED       (0xf0000L)
-#define STANDARD_RIGHTS_WRITE          (0x20000L)
-#define STANDARD_RIGHTS_READ           (0x20000L)
-#define STANDARD_RIGHTS_EXECUTE                (0x20000L)
-#define STANDARD_RIGHTS_ALL            (0x1f0000L)
-#define SPECIFIC_RIGHTS_ALL            (0xffffL)
+#define STANDARD_RIGHTS_REQUIRED       (0x000f0000L)
+#define STANDARD_RIGHTS_WRITE          (0x00020000L)
+#define STANDARD_RIGHTS_READ           (0x00020000L)
+#define STANDARD_RIGHTS_EXECUTE                (0x00020000L)
+#define STANDARD_RIGHTS_ALL            (0x001f0000L)
+#define SPECIFIC_RIGHTS_ALL            (0x0000ffffL)
 
 /* Token rights */
 #define TOKEN_ASSIGN_PRIMARY           (0x0001L)
@@ -154,8 +151,16 @@ typedef struct _SECURITY_DESCRIPTOR_CONTEXT
 
 typedef BOOL SECURITY_CONTEXT_TRACKING_MODE;
 
+#define SECURITY_STATIC_TRACKING       (0)
+#define SECURITY_DYNAMIC_TRACKING      (1)
+
 typedef ULONG SECURITY_INFORMATION, *PSECURITY_INFORMATION;
 
+#define OWNER_SECURITY_INFORMATION     (0x1L)
+#define GROUP_SECURITY_INFORMATION     (0x2L)
+#define DACL_SECURITY_INFORMATION      (0x4L)
+#define SACL_SECURITY_INFORMATION      (0x8L)
+
 typedef enum _TOKEN_INFORMATION_CLASS
 {
   TokenUser = 1,