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
7c0cd8c7
Commit
7c0cd8c7
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 WinCreatorOwnerRightsSid to wellknown list.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7f30ad1e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
0 deletions
+3
-0
security.c
dlls/advapi32/security.c
+1
-0
security.c
dlls/advapi32/tests/security.c
+1
-0
winnt.h
include/winnt.h
+1
-0
No files found.
dlls/advapi32/security.c
View file @
7c0cd8c7
...
...
@@ -79,6 +79,7 @@ static const WELLKNOWNSID WellKnownSids[] =
{
{
0
,
0
},
WinLocalSid
,
{
SID_REVISION
,
1
,
{
SECURITY_LOCAL_SID_AUTHORITY
},
{
SECURITY_LOCAL_RID
}
}
},
{
{
'C'
,
'O'
},
WinCreatorOwnerSid
,
{
SID_REVISION
,
1
,
{
SECURITY_CREATOR_SID_AUTHORITY
},
{
SECURITY_CREATOR_OWNER_RID
}
}
},
{
{
'C'
,
'G'
},
WinCreatorGroupSid
,
{
SID_REVISION
,
1
,
{
SECURITY_CREATOR_SID_AUTHORITY
},
{
SECURITY_CREATOR_GROUP_RID
}
}
},
{
{
'O'
,
'W'
},
WinCreatorOwnerRightsSid
,
{
SID_REVISION
,
1
,
{
SECURITY_CREATOR_SID_AUTHORITY
},
{
SECURITY_CREATOR_OWNER_RIGHTS_RID
}
}
},
{
{
0
,
0
},
WinCreatorOwnerServerSid
,
{
SID_REVISION
,
1
,
{
SECURITY_CREATOR_SID_AUTHORITY
},
{
SECURITY_CREATOR_OWNER_SERVER_RID
}
}
},
{
{
0
,
0
},
WinCreatorGroupServerSid
,
{
SID_REVISION
,
1
,
{
SECURITY_CREATOR_SID_AUTHORITY
},
{
SECURITY_CREATOR_GROUP_SERVER_RID
}
}
},
{
{
0
,
0
},
WinNtAuthoritySid
,
{
SID_REVISION
,
0
,
{
SECURITY_NT_AUTHORITY
},
{
SECURITY_NULL_RID
}
}
},
...
...
dlls/advapi32/tests/security.c
View file @
7c0cd8c7
...
...
@@ -310,6 +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
},
{
"NU"
,
"S-1-5-2"
},
{
"IU"
,
"S-1-5-4"
},
{
"SU"
,
"S-1-5-6"
},
...
...
include/winnt.h
View file @
7c0cd8c7
...
...
@@ -4325,6 +4325,7 @@ typedef struct _SID_AND_ATTRIBUTES {
#define SECURITY_CREATOR_GROUP_RID __MSABI_LONG(0x00000001)
#define SECURITY_CREATOR_OWNER_SERVER_RID __MSABI_LONG(0x00000002)
#define SECURITY_CREATOR_GROUP_SERVER_RID __MSABI_LONG(0x00000003)
#define SECURITY_CREATOR_OWNER_RIGHTS_RID __MSABI_LONG(0x00000004)
/* S-1-4 */
#define SECURITY_NON_UNIQUE_AUTHORITY {0,0,0,0,0,4}
...
...
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