Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
afaada7e
Commit
afaada7e
authored
Oct 08, 2018
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 08, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Add a name for WinBuiltinAnyPackageSid.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7c0cd8c7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
security.c
dlls/advapi32/security.c
+1
-1
security.c
dlls/advapi32/tests/security.c
+2
-1
No files found.
dlls/advapi32/security.c
View file @
afaada7e
...
...
@@ -128,7 +128,7 @@ static const WELLKNOWNSID WellKnownSids[] =
{
{
'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
}
}
},
{
{
0
,
0
},
WinBuiltinAnyPackageSid
,
{
SID_REVISION
,
2
,
{
SECURITY_APP_PACKAGE_AUTHORITY
},
{
SECURITY_APP_PACKAGE_BASE_RID
,
SECURITY_BUILTIN_PACKAGE_ANY_PACKAGE
}
}
},
{
{
'A'
,
'C'
},
WinBuiltinAnyPackageSid
,
{
SID_REVISION
,
2
,
{
SECURITY_APP_PACKAGE_AUTHORITY
},
{
SECURITY_APP_PACKAGE_BASE_RID
,
SECURITY_BUILTIN_PACKAGE_ANY_PACKAGE
}
}
},
};
/* these SIDs must be constructed as relative to some domain - only the RID is well-known */
...
...
dlls/advapi32/tests/security.c
View file @
afaada7e
...
...
@@ -310,7 +310,7 @@ static void test_sid(void)
{
"WD"
,
"S-1-1-0"
},
{
"CO"
,
"S-1-3-0"
},
{
"CG"
,
"S-1-3-1"
},
{
"OW"
,
"S-1-3-4"
,
1
},
{
"OW"
,
"S-1-3-4"
,
1
},
/* Vista+ */
{
"NU"
,
"S-1-5-2"
},
{
"IU"
,
"S-1-5-4"
},
{
"SU"
,
"S-1-5-6"
},
...
...
@@ -336,6 +336,7 @@ static void test_sid(void)
{
"RU"
,
"S-1-5-32-554"
},
{
"RD"
,
"S-1-5-32-555"
},
{
"NO"
,
"S-1-5-32-556"
},
{
"AC"
,
"S-1-15-2-1"
,
1
},
/* Win8+ */
{
"CA"
,
""
,
1
},
{
"DA"
,
""
,
1
},
{
"DC"
,
""
,
1
},
...
...
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