Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
8dc84666
Commit
8dc84666
authored
Feb 03, 2009
by
Aric Stewart
Committed by
Alexandre Julliard
Feb 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Add Security Label sids used by IE7.
parent
ea3adf27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
1 deletion
+28
-1
security.c
dlls/advapi32/security.c
+4
-0
winnt.h
include/winnt.h
+24
-1
No files found.
dlls/advapi32/security.c
View file @
8dc84666
...
...
@@ -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 */
...
...
include/winnt.h
View file @
8dc84666
...
...
@@ -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
;
/*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment