2016-06-09 21:30:48 +00:00
|
|
|
/*
|
|
|
|
* PROJECT: ReactOS Service Control Manager
|
|
|
|
* LICENSE: GPL - See COPYING in the top level directory
|
|
|
|
* FILE: base/system/services/security.c
|
|
|
|
* PURPOSE: Security functions
|
|
|
|
* COPYRIGHT: Eric Kohl
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* INCLUDES *****************************************************************/
|
|
|
|
|
|
|
|
#include "services.h"
|
|
|
|
|
|
|
|
#define NDEBUG
|
|
|
|
#include <debug.h>
|
|
|
|
|
|
|
|
static PSID pNullSid = NULL;
|
2019-08-04 20:30:40 +00:00
|
|
|
static PSID pWorldSid = NULL;
|
2016-06-09 21:30:48 +00:00
|
|
|
static PSID pLocalSystemSid = NULL;
|
|
|
|
static PSID pAuthenticatedUserSid = NULL;
|
|
|
|
static PSID pAliasAdminsSid = NULL;
|
|
|
|
|
2016-06-27 22:19:19 +00:00
|
|
|
static PACL pDefaultDacl = NULL;
|
|
|
|
static PACL pDefaultSacl = NULL;
|
2019-08-04 20:30:40 +00:00
|
|
|
static PACL pPipeDacl = NULL;
|
2016-06-27 22:19:19 +00:00
|
|
|
|
|
|
|
static PSECURITY_DESCRIPTOR pDefaultSD = NULL;
|
2019-08-04 20:30:40 +00:00
|
|
|
PSECURITY_DESCRIPTOR pPipeSD = NULL;
|
2016-06-27 22:19:19 +00:00
|
|
|
|
2016-06-09 21:30:48 +00:00
|
|
|
|
|
|
|
/* FUNCTIONS ****************************************************************/
|
|
|
|
|
|
|
|
static
|
|
|
|
VOID
|
|
|
|
ScmFreeSids(VOID)
|
|
|
|
{
|
|
|
|
if (pNullSid != NULL)
|
|
|
|
RtlFreeHeap(RtlGetProcessHeap(), 0, pNullSid);
|
|
|
|
|
2019-08-04 20:30:40 +00:00
|
|
|
if (pWorldSid != NULL)
|
|
|
|
RtlFreeHeap(RtlGetProcessHeap(), 0, pWorldSid);
|
|
|
|
|
2016-06-09 21:30:48 +00:00
|
|
|
if (pLocalSystemSid != NULL)
|
|
|
|
RtlFreeHeap(RtlGetProcessHeap(), 0, pLocalSystemSid);
|
|
|
|
|
|
|
|
if (pAuthenticatedUserSid != NULL)
|
|
|
|
RtlFreeHeap(RtlGetProcessHeap(), 0, pAuthenticatedUserSid);
|
|
|
|
|
|
|
|
if (pAliasAdminsSid != NULL)
|
|
|
|
RtlFreeHeap(RtlGetProcessHeap(), 0, pAliasAdminsSid);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static
|
|
|
|
DWORD
|
|
|
|
ScmCreateSids(VOID)
|
|
|
|
{
|
|
|
|
SID_IDENTIFIER_AUTHORITY NullAuthority = {SECURITY_NULL_SID_AUTHORITY};
|
2022-02-13 18:12:19 +00:00
|
|
|
SID_IDENTIFIER_AUTHORITY WorldAuthority = {SECURITY_WORLD_SID_AUTHORITY};
|
2016-06-09 21:30:48 +00:00
|
|
|
SID_IDENTIFIER_AUTHORITY NtAuthority = {SECURITY_NT_AUTHORITY};
|
|
|
|
PULONG pSubAuthority;
|
|
|
|
ULONG ulLength1 = RtlLengthRequiredSid(1);
|
|
|
|
ULONG ulLength2 = RtlLengthRequiredSid(2);
|
|
|
|
|
|
|
|
/* Create the Null SID */
|
|
|
|
pNullSid = RtlAllocateHeap(RtlGetProcessHeap(), 0, ulLength1);
|
|
|
|
if (pNullSid == NULL)
|
|
|
|
{
|
|
|
|
return ERROR_OUTOFMEMORY;
|
|
|
|
}
|
|
|
|
|
|
|
|
RtlInitializeSid(pNullSid, &NullAuthority, 1);
|
|
|
|
pSubAuthority = RtlSubAuthoritySid(pNullSid, 0);
|
|
|
|
*pSubAuthority = SECURITY_NULL_RID;
|
|
|
|
|
2019-08-04 20:30:40 +00:00
|
|
|
/* Create the World SID */
|
|
|
|
pWorldSid = RtlAllocateHeap(RtlGetProcessHeap(), 0, ulLength1);
|
|
|
|
if (pWorldSid == NULL)
|
|
|
|
{
|
|
|
|
return ERROR_OUTOFMEMORY;
|
|
|
|
}
|
|
|
|
|
2022-02-13 18:12:19 +00:00
|
|
|
RtlInitializeSid(pWorldSid, &WorldAuthority, 1);
|
2019-08-04 20:30:40 +00:00
|
|
|
pSubAuthority = RtlSubAuthoritySid(pWorldSid, 0);
|
|
|
|
*pSubAuthority = SECURITY_WORLD_RID;
|
|
|
|
|
2016-06-09 21:30:48 +00:00
|
|
|
/* Create the LocalSystem SID */
|
|
|
|
pLocalSystemSid = RtlAllocateHeap(RtlGetProcessHeap(), 0, ulLength1);
|
|
|
|
if (pLocalSystemSid == NULL)
|
|
|
|
{
|
|
|
|
return ERROR_OUTOFMEMORY;
|
|
|
|
}
|
|
|
|
|
|
|
|
RtlInitializeSid(pLocalSystemSid, &NtAuthority, 1);
|
|
|
|
pSubAuthority = RtlSubAuthoritySid(pLocalSystemSid, 0);
|
|
|
|
*pSubAuthority = SECURITY_LOCAL_SYSTEM_RID;
|
|
|
|
|
|
|
|
/* Create the AuthenticatedUser SID */
|
|
|
|
pAuthenticatedUserSid = RtlAllocateHeap(RtlGetProcessHeap(), 0, ulLength1);
|
|
|
|
if (pAuthenticatedUserSid == NULL)
|
|
|
|
{
|
|
|
|
return ERROR_OUTOFMEMORY;
|
|
|
|
}
|
|
|
|
|
|
|
|
RtlInitializeSid(pAuthenticatedUserSid, &NtAuthority, 1);
|
|
|
|
pSubAuthority = RtlSubAuthoritySid(pAuthenticatedUserSid, 0);
|
|
|
|
*pSubAuthority = SECURITY_AUTHENTICATED_USER_RID;
|
|
|
|
|
|
|
|
/* Create the AliasAdmins SID */
|
|
|
|
pAliasAdminsSid = RtlAllocateHeap(RtlGetProcessHeap(), 0, ulLength2);
|
|
|
|
if (pAliasAdminsSid == NULL)
|
|
|
|
{
|
|
|
|
return ERROR_OUTOFMEMORY;
|
|
|
|
}
|
|
|
|
|
|
|
|
RtlInitializeSid(pAliasAdminsSid, &NtAuthority, 2);
|
|
|
|
pSubAuthority = RtlSubAuthoritySid(pAliasAdminsSid, 0);
|
|
|
|
*pSubAuthority = SECURITY_BUILTIN_DOMAIN_RID;
|
|
|
|
pSubAuthority = RtlSubAuthoritySid(pAliasAdminsSid, 1);
|
|
|
|
*pSubAuthority = DOMAIN_ALIAS_RID_ADMINS;
|
|
|
|
|
|
|
|
return ERROR_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-06-27 22:19:19 +00:00
|
|
|
static
|
2016-06-09 21:30:48 +00:00
|
|
|
DWORD
|
2016-06-27 22:19:19 +00:00
|
|
|
ScmCreateAcls(VOID)
|
2016-06-09 21:30:48 +00:00
|
|
|
{
|
|
|
|
ULONG ulLength;
|
|
|
|
|
|
|
|
/* Create DACL */
|
|
|
|
ulLength = sizeof(ACL) +
|
|
|
|
(sizeof(ACE) + RtlLengthSid(pLocalSystemSid)) +
|
|
|
|
(sizeof(ACE) + RtlLengthSid(pAliasAdminsSid)) +
|
|
|
|
(sizeof(ACE) + RtlLengthSid(pAuthenticatedUserSid));
|
|
|
|
|
2016-06-27 22:19:19 +00:00
|
|
|
pDefaultDacl = RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, ulLength);
|
|
|
|
if (pDefaultDacl == NULL)
|
|
|
|
return ERROR_OUTOFMEMORY;
|
2016-06-09 21:30:48 +00:00
|
|
|
|
2016-06-27 22:19:19 +00:00
|
|
|
RtlCreateAcl(pDefaultDacl, ulLength, ACL_REVISION);
|
2016-06-09 21:30:48 +00:00
|
|
|
|
2016-06-27 22:19:19 +00:00
|
|
|
RtlAddAccessAllowedAce(pDefaultDacl,
|
2016-06-09 21:30:48 +00:00
|
|
|
ACL_REVISION,
|
|
|
|
READ_CONTROL | SERVICE_ENUMERATE_DEPENDENTS | SERVICE_INTERROGATE |
|
|
|
|
SERVICE_PAUSE_CONTINUE | SERVICE_QUERY_CONFIG | SERVICE_QUERY_STATUS |
|
|
|
|
SERVICE_START | SERVICE_STOP | SERVICE_USER_DEFINED_CONTROL,
|
|
|
|
pLocalSystemSid);
|
|
|
|
|
2016-06-27 22:19:19 +00:00
|
|
|
RtlAddAccessAllowedAce(pDefaultDacl,
|
2016-06-09 21:30:48 +00:00
|
|
|
ACL_REVISION,
|
|
|
|
SERVICE_ALL_ACCESS,
|
|
|
|
pAliasAdminsSid);
|
|
|
|
|
2016-06-27 22:19:19 +00:00
|
|
|
RtlAddAccessAllowedAce(pDefaultDacl,
|
2016-06-09 21:30:48 +00:00
|
|
|
ACL_REVISION,
|
|
|
|
READ_CONTROL | SERVICE_ENUMERATE_DEPENDENTS | SERVICE_INTERROGATE |
|
|
|
|
SERVICE_QUERY_CONFIG | SERVICE_QUERY_STATUS | SERVICE_USER_DEFINED_CONTROL,
|
|
|
|
pAuthenticatedUserSid);
|
|
|
|
|
|
|
|
/* Create SACL */
|
|
|
|
ulLength = sizeof(ACL) +
|
|
|
|
(sizeof(ACE) + RtlLengthSid(pNullSid));
|
|
|
|
|
2016-06-27 22:19:19 +00:00
|
|
|
pDefaultSacl = RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, ulLength);
|
|
|
|
if (pDefaultSacl == NULL)
|
|
|
|
return ERROR_OUTOFMEMORY;
|
2016-06-09 21:30:48 +00:00
|
|
|
|
2016-06-27 22:19:19 +00:00
|
|
|
RtlCreateAcl(pDefaultSacl, ulLength, ACL_REVISION);
|
2016-06-09 21:30:48 +00:00
|
|
|
|
2016-06-27 22:19:19 +00:00
|
|
|
RtlAddAuditAccessAce(pDefaultSacl,
|
2016-06-09 21:30:48 +00:00
|
|
|
ACL_REVISION,
|
|
|
|
SERVICE_ALL_ACCESS,
|
|
|
|
pNullSid,
|
|
|
|
FALSE,
|
|
|
|
TRUE);
|
|
|
|
|
2019-08-04 20:30:40 +00:00
|
|
|
/* Create the pipe DACL */
|
|
|
|
ulLength = sizeof(ACL) +
|
|
|
|
(sizeof(ACE) + RtlLengthSid(pWorldSid));
|
|
|
|
|
|
|
|
pPipeDacl = RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, ulLength);
|
|
|
|
if (pPipeDacl == NULL)
|
|
|
|
return ERROR_OUTOFMEMORY;
|
|
|
|
|
|
|
|
RtlCreateAcl(pPipeDacl, ulLength, ACL_REVISION);
|
|
|
|
|
|
|
|
RtlAddAccessAllowedAce(pPipeDacl,
|
|
|
|
ACL_REVISION,
|
|
|
|
GENERIC_ALL,
|
|
|
|
pWorldSid);
|
|
|
|
|
2016-06-27 22:19:19 +00:00
|
|
|
return ERROR_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static
|
|
|
|
VOID
|
|
|
|
ScmFreeAcls(VOID)
|
|
|
|
{
|
|
|
|
if (pDefaultDacl != NULL)
|
|
|
|
RtlFreeHeap(RtlGetProcessHeap(), 0, pDefaultDacl);
|
|
|
|
|
|
|
|
if (pDefaultSacl != NULL)
|
|
|
|
RtlFreeHeap(RtlGetProcessHeap(), 0, pDefaultSacl);
|
2019-08-04 20:30:40 +00:00
|
|
|
|
|
|
|
if (pPipeDacl != NULL)
|
|
|
|
RtlFreeHeap(RtlGetProcessHeap(), 0, pPipeDacl);
|
2016-06-27 22:19:19 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static
|
|
|
|
DWORD
|
|
|
|
ScmCreateDefaultSD(VOID)
|
|
|
|
{
|
|
|
|
NTSTATUS Status;
|
|
|
|
|
2016-06-26 15:02:48 +00:00
|
|
|
/* Create the absolute security descriptor */
|
2016-06-27 22:19:19 +00:00
|
|
|
pDefaultSD = RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(SECURITY_DESCRIPTOR));
|
|
|
|
if (pDefaultSD == NULL)
|
|
|
|
return ERROR_OUTOFMEMORY;
|
2016-06-09 21:30:48 +00:00
|
|
|
|
2016-06-27 22:19:19 +00:00
|
|
|
DPRINT("pDefaultSD %p\n", pDefaultSD);
|
|
|
|
|
|
|
|
Status = RtlCreateSecurityDescriptor(pDefaultSD,
|
2016-06-09 21:30:48 +00:00
|
|
|
SECURITY_DESCRIPTOR_REVISION);
|
|
|
|
if (!NT_SUCCESS(Status))
|
2016-06-27 22:19:19 +00:00
|
|
|
return RtlNtStatusToDosError(Status);
|
2016-06-09 21:30:48 +00:00
|
|
|
|
2016-06-27 22:19:19 +00:00
|
|
|
Status = RtlSetOwnerSecurityDescriptor(pDefaultSD,
|
2016-06-09 21:30:48 +00:00
|
|
|
pLocalSystemSid,
|
|
|
|
FALSE);
|
|
|
|
if (!NT_SUCCESS(Status))
|
2016-06-27 22:19:19 +00:00
|
|
|
return RtlNtStatusToDosError(Status);
|
2016-06-09 21:30:48 +00:00
|
|
|
|
2016-06-27 22:19:19 +00:00
|
|
|
Status = RtlSetGroupSecurityDescriptor(pDefaultSD,
|
2016-06-09 21:30:48 +00:00
|
|
|
pLocalSystemSid,
|
|
|
|
FALSE);
|
|
|
|
if (!NT_SUCCESS(Status))
|
2016-06-27 22:19:19 +00:00
|
|
|
return RtlNtStatusToDosError(Status);
|
2016-06-09 21:30:48 +00:00
|
|
|
|
2016-06-27 22:19:19 +00:00
|
|
|
Status = RtlSetDaclSecurityDescriptor(pDefaultSD,
|
2016-06-09 21:30:48 +00:00
|
|
|
TRUE,
|
2016-06-27 22:19:19 +00:00
|
|
|
pDefaultDacl,
|
2016-06-09 21:30:48 +00:00
|
|
|
FALSE);
|
|
|
|
if (!NT_SUCCESS(Status))
|
2016-06-27 22:19:19 +00:00
|
|
|
return RtlNtStatusToDosError(Status);
|
2016-06-09 21:30:48 +00:00
|
|
|
|
2016-06-27 22:19:19 +00:00
|
|
|
Status = RtlSetSaclSecurityDescriptor(pDefaultSD,
|
2016-06-09 21:30:48 +00:00
|
|
|
TRUE,
|
2016-06-27 22:19:19 +00:00
|
|
|
pDefaultSacl,
|
2016-06-09 21:30:48 +00:00
|
|
|
FALSE);
|
|
|
|
if (!NT_SUCCESS(Status))
|
2016-06-27 22:19:19 +00:00
|
|
|
return RtlNtStatusToDosError(Status);
|
|
|
|
|
|
|
|
return ERROR_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static
|
|
|
|
VOID
|
|
|
|
ScmFreeDefaultSD(VOID)
|
|
|
|
{
|
|
|
|
if (pDefaultSD != NULL)
|
|
|
|
RtlFreeHeap(RtlGetProcessHeap(), 0, pDefaultSD);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2019-08-04 20:30:40 +00:00
|
|
|
static
|
|
|
|
DWORD
|
|
|
|
ScmCreatePipeSD(VOID)
|
|
|
|
{
|
|
|
|
NTSTATUS Status;
|
|
|
|
|
|
|
|
/* Create the absolute security descriptor */
|
|
|
|
pPipeSD = RtlAllocateHeap(RtlGetProcessHeap(), HEAP_ZERO_MEMORY, sizeof(SECURITY_DESCRIPTOR));
|
|
|
|
if (pPipeSD == NULL)
|
|
|
|
return ERROR_OUTOFMEMORY;
|
|
|
|
|
|
|
|
DPRINT("pPipeSD %p\n", pDefaultSD);
|
|
|
|
|
|
|
|
Status = RtlCreateSecurityDescriptor(pPipeSD,
|
|
|
|
SECURITY_DESCRIPTOR_REVISION);
|
|
|
|
if (!NT_SUCCESS(Status))
|
|
|
|
return RtlNtStatusToDosError(Status);
|
|
|
|
|
|
|
|
Status = RtlSetOwnerSecurityDescriptor(pPipeSD,
|
|
|
|
pLocalSystemSid,
|
|
|
|
FALSE);
|
|
|
|
if (!NT_SUCCESS(Status))
|
|
|
|
return RtlNtStatusToDosError(Status);
|
|
|
|
|
|
|
|
Status = RtlSetGroupSecurityDescriptor(pPipeSD,
|
|
|
|
pLocalSystemSid,
|
|
|
|
FALSE);
|
|
|
|
if (!NT_SUCCESS(Status))
|
|
|
|
return RtlNtStatusToDosError(Status);
|
|
|
|
|
|
|
|
Status = RtlSetDaclSecurityDescriptor(pPipeSD,
|
|
|
|
TRUE,
|
|
|
|
pPipeDacl,
|
|
|
|
FALSE);
|
|
|
|
if (!NT_SUCCESS(Status))
|
|
|
|
return RtlNtStatusToDosError(Status);
|
|
|
|
|
|
|
|
return ERROR_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
static
|
|
|
|
VOID
|
|
|
|
ScmFreePipeSD(VOID)
|
|
|
|
{
|
|
|
|
if (pPipeSD != NULL)
|
|
|
|
RtlFreeHeap(RtlGetProcessHeap(), 0, pPipeSD);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2016-06-27 22:19:19 +00:00
|
|
|
DWORD
|
|
|
|
ScmCreateDefaultServiceSD(
|
|
|
|
PSECURITY_DESCRIPTOR *ppSecurityDescriptor)
|
|
|
|
{
|
|
|
|
PSECURITY_DESCRIPTOR pRelativeSD = NULL;
|
|
|
|
DWORD dwBufferLength = 0;
|
|
|
|
NTSTATUS Status;
|
|
|
|
DWORD dwError = ERROR_SUCCESS;
|
2016-06-09 21:30:48 +00:00
|
|
|
|
2016-06-26 15:02:48 +00:00
|
|
|
/* Convert the absolute SD to a self-relative SD */
|
2016-06-27 22:19:19 +00:00
|
|
|
Status = RtlAbsoluteToSelfRelativeSD(pDefaultSD,
|
2016-06-26 15:02:48 +00:00
|
|
|
NULL,
|
|
|
|
&dwBufferLength);
|
|
|
|
if (Status != STATUS_BUFFER_TOO_SMALL)
|
|
|
|
{
|
|
|
|
dwError = RtlNtStatusToDosError(Status);
|
|
|
|
goto done;
|
|
|
|
}
|
|
|
|
|
|
|
|
DPRINT("BufferLength %lu\n", dwBufferLength);
|
|
|
|
|
2016-06-26 20:09:37 +00:00
|
|
|
pRelativeSD = RtlAllocateHeap(RtlGetProcessHeap(),
|
|
|
|
HEAP_ZERO_MEMORY,
|
|
|
|
dwBufferLength);
|
|
|
|
if (pRelativeSD == NULL)
|
2016-06-26 15:02:48 +00:00
|
|
|
{
|
|
|
|
dwError = ERROR_OUTOFMEMORY;
|
|
|
|
goto done;
|
|
|
|
}
|
2016-06-26 20:09:37 +00:00
|
|
|
DPRINT("pRelativeSD %p\n", pRelativeSD);
|
2016-06-09 21:30:48 +00:00
|
|
|
|
2016-06-27 22:19:19 +00:00
|
|
|
Status = RtlAbsoluteToSelfRelativeSD(pDefaultSD,
|
2016-06-26 20:09:37 +00:00
|
|
|
pRelativeSD,
|
2016-06-26 15:02:48 +00:00
|
|
|
&dwBufferLength);
|
|
|
|
if (!NT_SUCCESS(Status))
|
|
|
|
{
|
|
|
|
dwError = RtlNtStatusToDosError(Status);
|
2016-06-26 20:09:37 +00:00
|
|
|
goto done;
|
2016-06-26 15:02:48 +00:00
|
|
|
}
|
2016-06-09 21:30:48 +00:00
|
|
|
|
2016-06-26 20:09:37 +00:00
|
|
|
*ppSecurityDescriptor = pRelativeSD;
|
|
|
|
|
2016-06-09 21:30:48 +00:00
|
|
|
done:
|
|
|
|
if (dwError != ERROR_SUCCESS)
|
|
|
|
{
|
2016-06-26 20:09:37 +00:00
|
|
|
if (pRelativeSD != NULL)
|
|
|
|
RtlFreeHeap(RtlGetProcessHeap(), 0, pRelativeSD);
|
2016-06-26 15:02:48 +00:00
|
|
|
}
|
2016-06-09 21:30:48 +00:00
|
|
|
|
|
|
|
return dwError;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
DWORD
|
|
|
|
ScmInitializeSecurity(VOID)
|
|
|
|
{
|
|
|
|
DWORD dwError;
|
|
|
|
|
|
|
|
dwError = ScmCreateSids();
|
|
|
|
if (dwError != ERROR_SUCCESS)
|
|
|
|
return dwError;
|
|
|
|
|
2016-06-27 22:19:19 +00:00
|
|
|
dwError = ScmCreateAcls();
|
|
|
|
if (dwError != ERROR_SUCCESS)
|
|
|
|
return dwError;
|
|
|
|
|
|
|
|
dwError = ScmCreateDefaultSD();
|
|
|
|
if (dwError != ERROR_SUCCESS)
|
|
|
|
return dwError;
|
|
|
|
|
2019-08-04 20:30:40 +00:00
|
|
|
dwError = ScmCreatePipeSD();
|
|
|
|
if (dwError != ERROR_SUCCESS)
|
|
|
|
return dwError;
|
|
|
|
|
2016-06-09 21:30:48 +00:00
|
|
|
return ERROR_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
VOID
|
|
|
|
ScmShutdownSecurity(VOID)
|
|
|
|
{
|
2019-08-04 20:30:40 +00:00
|
|
|
ScmFreePipeSD();
|
2016-06-27 22:19:19 +00:00
|
|
|
ScmFreeDefaultSD();
|
|
|
|
ScmFreeAcls();
|
2016-06-09 21:30:48 +00:00
|
|
|
ScmFreeSids();
|
|
|
|
}
|
|
|
|
|
|
|
|
/* EOF */
|