Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jason Beetham
wine
Commits
028c4341
Commit
028c4341
authored
26 years ago
by
Marcus Meissner
Committed by
Alexandre Julliard
26 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Added GetSecurityDescriptorOwner/Group, RevertToSelf stubs.
Return NULL from OpenThreadToken.
parent
03f10f44
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dlls/advapi32/security.c
+27
-0
27 additions, 0 deletions
dlls/advapi32/security.c
relay32/advapi32.spec
+3
-3
3 additions, 3 deletions
relay32/advapi32.spec
with
30 additions
and
3 deletions
dlls/advapi32/security.c
+
27
−
0
View file @
028c4341
...
...
@@ -45,6 +45,7 @@ BOOL32 WINAPI OpenThreadToken( HANDLE32 thread,DWORD desiredaccess,
{
FIXME
(
advapi
,
"(%08x,%08lx,%d,%p): stub!
\n
"
,
thread
,
desiredaccess
,
openasself
,
thandle
);
*
thandle
=
0
;
/* FIXME ... well, store something in there ;) */
return
TRUE
;
}
...
...
@@ -278,7 +279,25 @@ DWORD WINAPI GetSecurityDescriptorLength( SECURITY_DESCRIPTOR *pDescr)
return
0
;
}
/***********************************************************************
* GetSecurityDescriptorOwner (ADVAPI.56)
*/
BOOL32
WINAPI
GetSecurityDescriptorOwner
(
SECURITY_DESCRIPTOR
*
pDescr
,
LPSID
*
pOwner
,
LPBOOL32
lpbOwnerDefaulted
)
{
FIXME
(
security
,
"(%p,%p,%p), stub
\n
"
,
pDescr
,
pOwner
,
lpbOwnerDefaulted
);
*
lpbOwnerDefaulted
=
TRUE
;
return
0
;
}
/***********************************************************************
* GetSecurityDescriptorGroup (ADVAPI.54)
*/
BOOL32
WINAPI
GetSecurityDescriptorGroup
(
SECURITY_DESCRIPTOR
*
pDescr
,
LPSID
*
pGroup
,
LPBOOL32
lpbOwnerDefaulted
)
{
FIXME
(
security
,
"(%p,%p,%p), stub
\n
"
,
pDescr
,
pGroup
,
lpbOwnerDefaulted
);
*
lpbOwnerDefaulted
=
TRUE
;
return
0
;
}
/***********************************************************************
* InitializeSid (ADVAPI.74)
...
...
@@ -435,3 +454,11 @@ BOOL32 WINAPI NotifyBootConfigStatus(DWORD x1) {
FIXME
(
advapi
,
"(0x%08lx),stub!
\n
"
,
x1
);
return
1
;
}
/******************************************************************************
* RevertToSelf [ADVAPI32]
*/
BOOL32
WINAPI
RevertToSelf
(
void
)
{
FIXME
(
advapi
,
"(), stub
\n
"
);
return
TRUE
;
}
This diff is collapsed.
Click to expand it.
relay32/advapi32.spec
+
3
−
3
View file @
028c4341
...
...
@@ -55,9 +55,9 @@ type win32
0051 stub GetPrivateObjectSecurity
0052 stub GetSecurityDescriptorControl
0053 stub GetSecurityDescriptorDacl
0054 st
ub
GetSecurityDescriptorGroup
0054 st
dcall GetSecurityDescriptorGroup(ptr ptr ptr)
GetSecurityDescriptorGroup
0055 stdcall GetSecurityDescriptorLength(ptr) GetSecurityDescriptorLength
0056 st
ub
GetSecurityDescriptorOwner
0056 st
dcall GetSecurityDescriptorOwner(ptr ptr ptr)
GetSecurityDescriptorOwner
0057 stub GetSecurityDescriptorSacl
0058 stub GetServiceDisplayNameA
0059 stub GetServiceDisplayNameW
...
...
@@ -181,7 +181,7 @@ type win32
0177 stdcall RegisterServiceCtrlHandlerW (ptr ptr) RegisterServiceCtrlHandlerW
0178 stdcall ReportEventA (long long long long ptr long long str ptr) ReportEvent32A
0179 stdcall ReportEventW (long long long long ptr long long wstr ptr) ReportEvent32W
0180 st
ub
RevertToSelf
0180 st
dcall RevertToSelf()
RevertToSelf
0181 stub SetAclInformation
0182 stdcall SetFileSecurityA(str long ptr ) SetFileSecurity32A
0183 stdcall SetFileSecurityW(wstr long ptr) SetFileSecurity32W
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment