Changeset 34569 in vbox
- Timestamp:
- Dec 1, 2010 1:33:06 PM (14 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ExtPackManagerImpl.cpp
r34292 r34569 1331 1331 { 1332 1332 RTFILE hFile; 1333 int vrc = RTFileOpen(&hFile, strTarball.c_str(), RTFILE_O_READ | RTFILE_O_DENY_WRITE | RTFILE_O_OPEN); 1333 int vrc = RTFileOpen(&hFile, strTarball.c_str(), 1334 RTFILE_O_READ | RTFILE_O_DENY_WRITE | RTFILE_O_OPEN | RTFILE_O_INHERIT); 1334 1335 if (RT_SUCCESS(vrc)) 1335 1336 { … … 1365 1366 1366 1367 hrc = runSetUidToRootHelper("install", 1367 "--base-dir", 1368 "--cert ificate-dir",m->strCertificatDirPath.c_str(),1369 "--name", 1370 "--tarball", 1371 "--tarball-fd", 1368 "--base-dir", m->strBaseDir.c_str(), 1369 "--cert-dir", m->strCertificatDirPath.c_str(), 1370 "--name", pStrName->c_str(), 1371 "--tarball", strTarball.c_str(), 1372 "--tarball-fd", &szTarballFd[0], 1372 1373 NULL); 1373 1374 if (SUCCEEDED(hrc)) -
trunk/src/VBox/Main/VBoxExtPackHelperApp.cpp
r34537 r34569 1065 1065 { "--name", 'n', RTGETOPT_REQ_STRING }, 1066 1066 { "--tarball", 't', RTGETOPT_REQ_STRING }, 1067 { "--tarball-fd", ' f', RTGETOPT_REQ_UINT64 }1067 { "--tarball-fd", 'd', RTGETOPT_REQ_UINT64 } 1068 1068 }; 1069 1069 RTGETOPTSTATE GetState;
Note:
See TracChangeset
for help on using the changeset viewer.