ntdll: Add a stub for RtlSetControlSecurityDescriptor.
Implement SetSecurityDescriptorControl on top of RtlSetControlSecurityDescriptor.
This commit is contained in:
parent
c4b1195c0c
commit
6b081232b9
@ -1363,6 +1363,17 @@ BOOL WINAPI GetSecurityDescriptorControl ( PSECURITY_DESCRIPTOR pSecurityDescri
|
|||||||
return set_ntstatus( RtlGetControlSecurityDescriptor(pSecurityDescriptor,pControl,lpdwRevision));
|
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 ######
|
###### ACL FUNCTIONS ######
|
||||||
##############################
|
##############################
|
||||||
@ -3077,16 +3088,6 @@ BOOL WINAPI SetPrivateObjectSecurity( SECURITY_INFORMATION SecurityInformation,
|
|||||||
return TRUE;
|
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 )
|
BOOL WINAPI AreAllAccessesGranted( DWORD GrantedAccess, DWORD DesiredAccess )
|
||||||
{
|
{
|
||||||
return RtlAreAllAccessesGranted( GrantedAccess, DesiredAccess );
|
return RtlAreAllAccessesGranted( GrantedAccess, DesiredAccess );
|
||||||
|
@ -813,7 +813,7 @@
|
|||||||
@ stdcall RtlSetAllBits(ptr)
|
@ stdcall RtlSetAllBits(ptr)
|
||||||
# @ stub RtlSetAttributesSecurityDescriptor
|
# @ stub RtlSetAttributesSecurityDescriptor
|
||||||
@ stdcall RtlSetBits(ptr long long)
|
@ stdcall RtlSetBits(ptr long long)
|
||||||
# @ stub RtlSetControlSecurityDescriptor
|
@ stdcall RtlSetControlSecurityDescriptor(ptr long long)
|
||||||
@ stdcall RtlSetCriticalSectionSpinCount(ptr long)
|
@ stdcall RtlSetCriticalSectionSpinCount(ptr long)
|
||||||
@ stdcall RtlSetCurrentDirectory_U(ptr)
|
@ stdcall RtlSetCurrentDirectory_U(ptr)
|
||||||
@ stdcall RtlSetCurrentEnvironment(wstr ptr)
|
@ stdcall RtlSetCurrentEnvironment(wstr ptr)
|
||||||
|
@ -1030,6 +1030,19 @@ NTSTATUS WINAPI RtlGetControlSecurityDescriptor(
|
|||||||
return STATUS_SUCCESS;
|
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.@]
|
* RtlAbsoluteToSelfRelativeSD [NTDLL.@]
|
||||||
|
@ -2221,6 +2221,7 @@ NTSTATUS WINAPI RtlSelfRelativeToAbsoluteSD(PSECURITY_DESCRIPTOR,PSECURITY_DESC
|
|||||||
void WINAPI RtlSetAllBits(PRTL_BITMAP);
|
void WINAPI RtlSetAllBits(PRTL_BITMAP);
|
||||||
void WINAPI RtlSetBits(PRTL_BITMAP,ULONG,ULONG);
|
void WINAPI RtlSetBits(PRTL_BITMAP,ULONG,ULONG);
|
||||||
ULONG WINAPI RtlSetCriticalSectionSpinCount(RTL_CRITICAL_SECTION*,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*);
|
NTSTATUS WINAPI RtlSetCurrentDirectory_U(const UNICODE_STRING*);
|
||||||
void WINAPI RtlSetCurrentEnvironment(PWSTR, PWSTR*);
|
void WINAPI RtlSetCurrentEnvironment(PWSTR, PWSTR*);
|
||||||
NTSTATUS WINAPI RtlSetDaclSecurityDescriptor(PSECURITY_DESCRIPTOR,BOOLEAN,PACL,BOOLEAN);
|
NTSTATUS WINAPI RtlSetDaclSecurityDescriptor(PSECURITY_DESCRIPTOR,BOOLEAN,PACL,BOOLEAN);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user