From 3415a605e59df788dd75ef6e1f5d04baab9df4a4 Mon Sep 17 00:00:00 2001 From: Christoph von Wittich Date: Sun, 21 Sep 2008 13:05:48 +0000 Subject: [PATCH] this hack wasn't supposed to be committed svn path=/trunk/; revision=36375 --- reactos/dll/win32/advapi32/service/scm.c | 28 ------------------------ 1 file changed, 28 deletions(-) diff --git a/reactos/dll/win32/advapi32/service/scm.c b/reactos/dll/win32/advapi32/service/scm.c index 2d3e4f84eb1..a47c620a89d 100644 --- a/reactos/dll/win32/advapi32/service/scm.c +++ b/reactos/dll/win32/advapi32/service/scm.c @@ -2124,29 +2124,6 @@ QueryServiceObjectSecurity(SC_HANDLE hService, DWORD cbBufSize, LPDWORD pcbBytesNeeded) { - - SECURITY_DESCRIPTOR descriptor; - DWORD size; - BOOL succ; - ACL acl; - - FIXME("%p %d %p %u %p - semi-stub\n", hService, dwSecurityInformation, - lpSecurityDescriptor, cbBufSize, pcbBytesNeeded); - - if (dwSecurityInformation != DACL_SECURITY_INFORMATION) - FIXME("information %d not supported\n", dwSecurityInformation); - - InitializeSecurityDescriptor(&descriptor, SECURITY_DESCRIPTOR_REVISION); - - InitializeAcl(&acl, sizeof(ACL), ACL_REVISION); - SetSecurityDescriptorDacl(&descriptor, TRUE, &acl, TRUE); - - size = cbBufSize; - succ = RtlMakeSelfRelativeSD(&descriptor, lpSecurityDescriptor, &size); - *pcbBytesNeeded = size; - return succ; - -#if 0 DWORD dwError; TRACE("QueryServiceObjectSecurity(%p, %lu, %p)\n", @@ -2178,7 +2155,6 @@ QueryServiceObjectSecurity(SC_HANDLE hService, } return TRUE; -#endif } /********************************************************************** @@ -2191,9 +2167,6 @@ SetServiceObjectSecurity(SC_HANDLE hService, SECURITY_INFORMATION dwSecurityInformation, PSECURITY_DESCRIPTOR lpSecurityDescriptor) { - FIXME("%p %d %p\n", hService, dwSecurityInformation, lpSecurityDescriptor); - return TRUE; -#if 0 PSECURITY_DESCRIPTOR SelfRelativeSD = NULL; ULONG Length; NTSTATUS Status; @@ -2253,7 +2226,6 @@ SetServiceObjectSecurity(SC_HANDLE hService, } return TRUE; -#endif }