projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf14a6a
)
[SERVICES] Allow CreateService to create an interactive service under the LocalSystem...
author
Mark Jansen
<mark.jansen@reactos.org>
Fri, 1 Sep 2017 18:27:40 +0000
(18:27 +0000)
committer
Mark Jansen
<mark.jansen@reactos.org>
Fri, 1 Sep 2017 18:27:40 +0000
(18:27 +0000)
MSDN stated that this is allowed, and this fixes VMWare Horizon setup not working.
CORE-13434
svn path=/trunk/; revision=75730
reactos/base/system/services/rpcserver.c
patch
|
blob
|
history
diff --git
a/reactos/base/system/services/rpcserver.c
b/reactos/base/system/services/rpcserver.c
index
a3c44a1
..
3465d4d
100644
(file)
--- a/
reactos/base/system/services/rpcserver.c
+++ b/
reactos/base/system/services/rpcserver.c
@@
-2192,7
+2192,11
@@
DWORD RCreateServiceW(
if ((dwServiceType == (SERVICE_WIN32_OWN_PROCESS | SERVICE_INTERACTIVE_PROCESS)) &&
(lpServiceStartName))
{
- return ERROR_INVALID_PARAMETER;
+ /* We allow LocalSystem to run interactive. */
+ if (wcsicmp(lpServiceStartName, L"LocalSystem"))
+ {
+ return ERROR_INVALID_PARAMETER;
+ }
}
if (lpdwTagId && (!lpLoadOrderGroup || !*lpLoadOrderGroup))