advapi32: Add Security Label sids used by IE7.
This commit is contained in:
parent
ea3adf2783
commit
8dc84666a6
|
@ -130,6 +130,10 @@ static const WELLKNOWNSID WellKnownSids[] =
|
|||
{ {0,0}, WinBuiltinAuthorizationAccessSid, { SID_REVISION, 2, { SECURITY_NT_AUTHORITY }, { SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_AUTHORIZATIONACCESS } } },
|
||||
{ {0,0}, WinBuiltinTerminalServerLicenseServersSid, { SID_REVISION, 2, { SECURITY_NT_AUTHORITY }, { SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_TS_LICENSE_SERVERS } } },
|
||||
{ {0,0}, WinBuiltinDCOMUsersSid, { SID_REVISION, 2, { SECURITY_NT_AUTHORITY }, { SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_DCOM_USERS } } },
|
||||
{ {'L','W'}, WinLowLabelSid, { SID_REVISION, 1, { SECURITY_MANDATORY_LABEL_AUTHORITY}, { SECURITY_MANDATORY_LOW_RID} } },
|
||||
{ {'M','E'}, WinMediumLabelSid, { SID_REVISION, 1, { SECURITY_MANDATORY_LABEL_AUTHORITY}, { SECURITY_MANDATORY_MEDIUM_RID } } },
|
||||
{ {'H','I'}, WinHighLabelSid, { SID_REVISION, 1, { SECURITY_MANDATORY_LABEL_AUTHORITY}, { SECURITY_MANDATORY_HIGH_RID } } },
|
||||
{ {'S','I'}, WinSystemLabelSid, { SID_REVISION, 1, { SECURITY_MANDATORY_LABEL_AUTHORITY}, { SECURITY_MANDATORY_SYSTEM_RID } } },
|
||||
};
|
||||
|
||||
/* these SIDs must be constructed as relative to some domain - only the RID is well-known */
|
||||
|
|
|
@ -3885,6 +3885,14 @@ typedef struct _SID_AND_ATTRIBUTES {
|
|||
#define DOMAIN_GROUP_RID_ENTERPRISE_ADMINS 0x00000207L
|
||||
#define DOMAIN_GROUP_RID_POLICY_ADMINS 0x00000208L
|
||||
|
||||
#define SECURITY_MANDATORY_LABEL_AUTHORITY {0,0,0,0,0,16}
|
||||
#define SECURITY_MANDATORY_UNTRUSTED_RID 0x00000000L
|
||||
#define SECURITY_MANDATORY_LOW_RID 0x00001000L
|
||||
#define SECURITY_MANDATORY_MEDIUM_RID 0x00002000L
|
||||
#define SECURITY_MANDATORY_HIGH_RID 0x00003000L
|
||||
#define SECURITY_MANDATORY_SYSTEM_RID 0x00004000L
|
||||
#define SECURITY_MANDATORY_PROTECTED_PROCESS_RID 0x00005000L
|
||||
|
||||
#define DOMAIN_ALIAS_RID_ADMINS 0x00000220L
|
||||
#define DOMAIN_ALIAS_RID_USERS 0x00000221L
|
||||
#define DOMAIN_ALIAS_RID_GUESTS 0x00000222L
|
||||
|
@ -3975,7 +3983,22 @@ typedef enum {
|
|||
WinBuiltinPerfLoggingUsersSid = 58,
|
||||
WinBuiltinAuthorizationAccessSid = 59,
|
||||
WinBuiltinTerminalServerLicenseServersSid = 60,
|
||||
WinBuiltinDCOMUsersSid = 61
|
||||
WinBuiltinDCOMUsersSid = 61,
|
||||
WinBuiltinIUsersSid = 62,
|
||||
WinIUserSid = 63,
|
||||
WinBuiltinCryptoOperatorsSid = 64,
|
||||
WinUntrustedLabelSid = 65,
|
||||
WinLowLabelSid = 66,
|
||||
WinMediumLabelSid = 67,
|
||||
WinHighLabelSid = 68,
|
||||
WinSystemLabelSid = 69,
|
||||
WinWriteRestrictedCodeSid = 70,
|
||||
WinCreatorOwnerRightsSid = 71,
|
||||
WinCacheablePrincipalsGroupSid = 72,
|
||||
WinNonCacheablePrincipalsGroupSid = 73,
|
||||
WinEnterpriseReadonlyControllersSid = 74,
|
||||
WinAccountReadonlyControllersSid = 75,
|
||||
WinBuiltinEventLogReadersGroup = 76,
|
||||
} WELL_KNOWN_SID_TYPE;
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue