mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +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:
parent
b0d00a039a
commit
d31ca2ab18
3 changed files with 934 additions and 940 deletions
|
@ -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
|
||||
|
|
1842
reactos/lib/rtl/sd.c
1842
reactos/lib/rtl/sd.c
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue