Changeset 59517 in vbox
- Timestamp:
- Jan 29, 2016 9:07:14 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlProcess.cpp
r59134 r59517 1209 1209 */ 1210 1210 static int vgsvcGstCtrlProcessCreateProcess(const char *pszExec, const char * const *papszArgs, RTENV hEnv, uint32_t fFlags, 1211 PCRTHANDLE phStdIn, PCRTHANDLE phStdOut, PCRTHANDLE phStdErr, const char *pszAsUser, 1212 const char *pszPassword, const char *pszDomain, PRTPROCESS phProcess) 1211 PCRTHANDLE phStdIn, PCRTHANDLE phStdOut, PCRTHANDLE phStdErr, 1212 const char *pszAsUser, const char *pszPassword, const char *pszDomain, 1213 PRTPROCESS phProcess) 1213 1214 { 1214 1215 AssertPtrReturn(pszExec, VERR_INVALID_PARAMETER); 1215 1216 AssertPtrReturn(papszArgs, VERR_INVALID_PARAMETER); 1217 /* phStdIn is optional. */ 1218 /* phStdOut is optional. */ 1219 /* phStdErr is optional. */ 1220 /* pszPassword is optional. */ 1221 /* pszDomain is optional. */ 1216 1222 AssertPtrReturn(phProcess, VERR_INVALID_PARAMETER); 1217 1223 1218 1224 int rc = VINF_SUCCESS; 1219 1225 char szExecExp[RTPATH_MAX]; 1226 1227 #ifdef DEBUG 1228 /* Never log this in release mode! */ 1229 VGSvcVerbose(4, "pszUser=%s, pszPassword=%s, pszDomain=%s\n", pszAsUser, pszPassword, pszDomain); 1230 #endif 1220 1231 1221 1232 #ifdef RT_OS_WINDOWS … … 1356 1367 * the domain name built-in, e.g. "[email protected]". */ 1357 1368 char *pszUserUPN = NULL; 1358 if (strlen(pszDomain)) 1369 if ( pszDomain 1370 && strlen(pszDomain)) 1359 1371 { 1360 1372 int cbUserUPN = RTStrAPrintf(&pszUserUPN, "%s@%s", pszAsUser, pszDomain);
Note:
See TracChangeset
for help on using the changeset viewer.