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
6b081232
Commit
6b081232
authored
Oct 23, 2007
by
Rob Shearman
Committed by
Alexandre Julliard
Oct 23, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Add a stub for RtlSetControlSecurityDescriptor.
Implement SetSecurityDescriptorControl on top of RtlSetControlSecurityDescriptor.
parent
c4b1195c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
26 additions
and
11 deletions
+26
-11
security.c
dlls/advapi32/security.c
+11
-10
ntdll.spec
dlls/ntdll/ntdll.spec
+1
-1
sec.c
dlls/ntdll/sec.c
+13
-0
winternl.h
include/winternl.h
+1
-0
No files found.
dlls/advapi32/security.c
View file @
6b081232
...
...
@@ -1363,6 +1363,17 @@ BOOL WINAPI GetSecurityDescriptorControl ( PSECURITY_DESCRIPTOR pSecurityDescri
return
set_ntstatus
(
RtlGetControlSecurityDescriptor
(
pSecurityDescriptor
,
pControl
,
lpdwRevision
));
}
/******************************************************************************
* SetSecurityDescriptorControl [ADVAPI32.@]
*/
BOOL
WINAPI
SetSecurityDescriptorControl
(
PSECURITY_DESCRIPTOR
pSecurityDescriptor
,
SECURITY_DESCRIPTOR_CONTROL
ControlBitsOfInterest
,
SECURITY_DESCRIPTOR_CONTROL
ControlBitsToSet
)
{
return
set_ntstatus
(
RtlSetControlSecurityDescriptor
(
pSecurityDescriptor
,
ControlBitsOfInterest
,
ControlBitsToSet
)
);
}
/* ##############################
###### ACL FUNCTIONS ######
##############################
...
...
@@ -3077,16 +3088,6 @@ BOOL WINAPI SetPrivateObjectSecurity( SECURITY_INFORMATION SecurityInformation,
return
TRUE
;
}
BOOL
WINAPI
SetSecurityDescriptorControl
(
PSECURITY_DESCRIPTOR
pSecurityDescriptor
,
SECURITY_DESCRIPTOR_CONTROL
ControlBitsOfInterest
,
SECURITY_DESCRIPTOR_CONTROL
ControlBitsToSet
)
{
FIXME
(
"%p 0x%08x 0x%08x - stub
\n
"
,
pSecurityDescriptor
,
ControlBitsOfInterest
,
ControlBitsToSet
);
return
TRUE
;
}
BOOL
WINAPI
AreAllAccessesGranted
(
DWORD
GrantedAccess
,
DWORD
DesiredAccess
)
{
return
RtlAreAllAccessesGranted
(
GrantedAccess
,
DesiredAccess
);
...
...
dlls/ntdll/ntdll.spec
View file @
6b081232
...
...
@@ -813,7 +813,7 @@
@ stdcall RtlSetAllBits(ptr)
# @ stub RtlSetAttributesSecurityDescriptor
@ stdcall RtlSetBits(ptr long long)
# @ stub RtlSetControlSecurityDescriptor
@ stdcall RtlSetControlSecurityDescriptor(ptr long long)
@ stdcall RtlSetCriticalSectionSpinCount(ptr long)
@ stdcall RtlSetCurrentDirectory_U(ptr)
@ stdcall RtlSetCurrentEnvironment(wstr ptr)
...
...
dlls/ntdll/sec.c
View file @
6b081232
...
...
@@ -1030,6 +1030,19 @@ NTSTATUS WINAPI RtlGetControlSecurityDescriptor(
return
STATUS_SUCCESS
;
}
/******************************************************************************
* RtlSetControlSecurityDescriptor (NTDLL.@)
*/
NTSTATUS
WINAPI
RtlSetControlSecurityDescriptor
(
PSECURITY_DESCRIPTOR
SecurityDescriptor
,
SECURITY_DESCRIPTOR_CONTROL
ControlBitsOfInterest
,
SECURITY_DESCRIPTOR_CONTROL
ControlBitsToSet
)
{
FIXME
(
"(%p 0x%08x 0x%08x): stub
\n
"
,
SecurityDescriptor
,
ControlBitsOfInterest
,
ControlBitsToSet
);
return
STATUS_SUCCESS
;
}
/**************************************************************************
* RtlAbsoluteToSelfRelativeSD [NTDLL.@]
...
...
include/winternl.h
View file @
6b081232
...
...
@@ -2221,6 +2221,7 @@ NTSTATUS WINAPI RtlSelfRelativeToAbsoluteSD(PSECURITY_DESCRIPTOR,PSECURITY_DESC
void
WINAPI
RtlSetAllBits
(
PRTL_BITMAP
);
void
WINAPI
RtlSetBits
(
PRTL_BITMAP
,
ULONG
,
ULONG
);
ULONG
WINAPI
RtlSetCriticalSectionSpinCount
(
RTL_CRITICAL_SECTION
*
,
ULONG
);
NTSTATUS
WINAPI
RtlSetControlSecurityDescriptor
(
PSECURITY_DESCRIPTOR
,
SECURITY_DESCRIPTOR_CONTROL
,
SECURITY_DESCRIPTOR_CONTROL
);
NTSTATUS
WINAPI
RtlSetCurrentDirectory_U
(
const
UNICODE_STRING
*
);
void
WINAPI
RtlSetCurrentEnvironment
(
PWSTR
,
PWSTR
*
);
NTSTATUS
WINAPI
RtlSetDaclSecurityDescriptor
(
PSECURITY_DESCRIPTOR
,
BOOLEAN
,
PACL
,
BOOLEAN
);
...
...
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