mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 12:23:31 +00:00
[RTL]: Reformat, rewrite, comment, and fix when relevant the Rtl*SecurityDescriptor* APIs, as well as fix one wrong prototype and implement some unimplemented ones.
svn path=/trunk/; revision=57450
This commit is contained in:
@@ -1240,7 +1240,7 @@ NTSTATUS
|
||||
NTAPI
|
||||
RtlCopySecurityDescriptor(
|
||||
IN PSECURITY_DESCRIPTOR pSourceSecurityDescriptor,
|
||||
OUT PSECURITY_DESCRIPTOR pDestinationSecurityDescriptor
|
||||
OUT PSECURITY_DESCRIPTOR *pDestinationSecurityDescriptor
|
||||
);
|
||||
|
||||
NTSYSAPI
|
||||
|
||||
@@ -1875,20 +1875,22 @@ typedef enum {
|
||||
#define SERVICE_ERROR_NORMAL 1
|
||||
#define SERVICE_ERROR_SEVERE 2
|
||||
#define SERVICE_ERROR_CRITICAL 3
|
||||
#define SE_OWNER_DEFAULTED 1
|
||||
#define SE_GROUP_DEFAULTED 2
|
||||
#define SE_DACL_PRESENT 4
|
||||
#define SE_DACL_DEFAULTED 8
|
||||
#define SE_SACL_PRESENT 16
|
||||
#define SE_SACL_DEFAULTED 32
|
||||
#define SE_DACL_AUTO_INHERIT_REQ 256
|
||||
#define SE_SACL_AUTO_INHERIT_REQ 512
|
||||
#define SE_DACL_AUTO_INHERITED 1024
|
||||
#define SE_SACL_AUTO_INHERITED 2048
|
||||
#define SE_DACL_PROTECTED 4096
|
||||
#define SE_SACL_PROTECTED 8192
|
||||
#define SE_RM_CONTROL_VALID 0x4000
|
||||
#define SE_SELF_RELATIVE 0x8000
|
||||
#define SE_OWNER_DEFAULTED 0x0001
|
||||
#define SE_GROUP_DEFAULTED 0x0002
|
||||
#define SE_DACL_PRESENT 0x0004
|
||||
#define SE_DACL_DEFAULTED 0x0008
|
||||
#define SE_SACL_PRESENT 0x0010
|
||||
#define SE_SACL_DEFAULTED 0x0020
|
||||
#define SE_DACL_UNTRUSTED 0x0040
|
||||
#define SE_SERVER_SECURITY 0x0080
|
||||
#define SE_DACL_AUTO_INHERIT_REQ 0x0100
|
||||
#define SE_SACL_AUTO_INHERIT_REQ 0x0200
|
||||
#define SE_DACL_AUTO_INHERITED 0x0400
|
||||
#define SE_SACL_AUTO_INHERITED 0x0800
|
||||
#define SE_DACL_PROTECTED 0x1000
|
||||
#define SE_SACL_PROTECTED 0x2000
|
||||
#define SE_RM_CONTROL_VALID 0x4000
|
||||
#define SE_SELF_RELATIVE 0x8000
|
||||
#define SECURITY_DESCRIPTOR_MIN_LENGTH 20
|
||||
#define SECURITY_DESCRIPTOR_REVISION 1
|
||||
#define SECURITY_DESCRIPTOR_REVISION1 1
|
||||
|
||||
+917
-925
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user