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
5909b0de
Commit
5909b0de
authored
Jun 17, 2005
by
James Hawkins
Committed by
Alexandre Julliard
Jun 17, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Forward GetPrivate/KernelObjectSecurity to NtQuerySecurityObject.
parent
6f686490
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
4 deletions
+12
-4
security.c
dlls/advapi32/security.c
+12
-4
No files found.
dlls/advapi32/security.c
View file @
5909b0de
...
...
@@ -640,6 +640,9 @@ BOOL WINAPI MakeAbsoluteSD (
pPrimaryGroup
,
lpdwPrimaryGroupSize
));
}
/******************************************************************************
* GetKernelObjectSecurity [ADVAPI32.@]
*/
BOOL
WINAPI
GetKernelObjectSecurity
(
HANDLE
Handle
,
SECURITY_INFORMATION
RequestedInformation
,
...
...
@@ -647,12 +650,16 @@ BOOL WINAPI GetKernelObjectSecurity(
DWORD
nLength
,
LPDWORD
lpnLengthNeeded
)
{
FIXME
(
"%p 0x%08lx %p 0x%08lx %p - stub
\n
"
,
Handle
,
RequestedInformation
,
TRACE
(
"(%p,0x%08lx,%p,0x%08lx,%p)
\n
"
,
Handle
,
RequestedInformation
,
pSecurityDescriptor
,
nLength
,
lpnLengthNeeded
);
return
FALSE
;
return
set_ntstatus
(
NtQuerySecurityObject
(
Handle
,
RequestedInformation
,
pSecurityDescriptor
,
nLength
,
lpnLengthNeeded
));
}
/******************************************************************************
* GetPrivateObjectSecurity [ADVAPI32.@]
*/
BOOL
WINAPI
GetPrivateObjectSecurity
(
PSECURITY_DESCRIPTOR
ObjectDescriptor
,
SECURITY_INFORMATION
SecurityInformation
,
...
...
@@ -660,10 +667,11 @@ BOOL WINAPI GetPrivateObjectSecurity(
DWORD
DescriptorLength
,
PDWORD
ReturnLength
)
{
FIXME
(
"%p 0x%08lx %p 0x%08lx %p - stub
\n
"
,
ObjectDescriptor
,
SecurityInformation
,
TRACE
(
"(%p,0x%08lx,%p,0x%08lx,%p)
\n
"
,
ObjectDescriptor
,
SecurityInformation
,
ResultantDescriptor
,
DescriptorLength
,
ReturnLength
);
return
FALSE
;
return
set_ntstatus
(
NtQuerySecurityObject
(
ObjectDescriptor
,
SecurityInformation
,
ResultantDescriptor
,
DescriptorLength
,
ReturnLength
));
}
/******************************************************************************
...
...
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