Changeset 57351 in vbox for trunk/src/VBox/HostDrivers
- Timestamp:
- Aug 14, 2015 2:08:02 PM (9 years ago)
- Location:
- trunk/src/VBox/HostDrivers/Support
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPR3HardenedVerify.cpp
r56817 r57351 108 108 * the time being we're building the linux packages with SharedLib pointing to 109 109 * AppPrivArch (lazy bird). 110 * 111 * @remarks If you add executables here, you might need to update 112 * g_apszSupNtVpAllowedVmExes in SUPHardenedVerifyProcess-win.cpp. 110 113 */ 111 114 static SUPINSTFILE const g_aSupInstallFiles[] = … … 232 235 { kSupIFT_TestDll, kSupID_Testcase, true, a_szName SUPLIB_DLL_SUFF } 233 236 HARDENED_TESTCASE_ENTRY("tstCFGM"), 237 HARDENED_TESTCASE_ENTRY("tstGIP-2"), 234 238 HARDENED_TESTCASE_ENTRY("tstIntNet-1"), 235 239 HARDENED_TESTCASE_ENTRY("tstMMHyperHeap"), -
trunk/src/VBox/HostDrivers/Support/testcase/Makefile.kmk
r56293 r57351 41 41 tstLow \ 42 42 tstPin \ 43 tstGIP-2 \44 43 tstGetPagingMode \ 45 44 tstSupLoadModule \ … … 87 86 tstPage_SOURCES = tstPage.cpp 88 87 89 tstGIP-2_TEMPLATE = VBOXR3TSTEXE 90 tstGIP-2_SOURCES = tstGIP-2.cpp 88 # 89 # tstGIP-2 90 # 91 ifdef VBOX_WITH_TESTCASES 92 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 93 PROGRAMS += tstGIP-2Hardened 94 DLLS += tstGIP-2 95 else 96 PROGRAMS += tstGIP-2 97 endif 98 endif 99 100 tstGIP-2Hardened_TEMPLATE = VBoxR3HardenedTstExe 101 tstGIP-2Hardened_DEFS = PROGRAM_NAME_STR=\"tstGIP-2\" 102 tstGIP-2Hardened_SOURCES = ../SUPR3HardenedMainTemplateTestcase.cpp 103 tstGIP-2Hardened_NAME = tstGIP-2 104 105 if defined(VBOX_WITH_HARDENING) && "$(KBUILD_TARGET)" == "win" 106 tstGIP-2_TEMPLATE := VBoxR3HardenedTstDll 107 else 108 tstGIP-2_TEMPLATE := VBOXR3TSTEXE 109 endif 110 tstGIP-2_SOURCES = tstGIP-2.cpp 91 111 92 112 tstGetPagingMode_TEMPLATE = VBOXR3TSTEXE -
trunk/src/VBox/HostDrivers/Support/testcase/tstGIP-2.cpp
r57349 r57351 41 41 #include <iprt/x86.h> 42 42 43 int main(int argc, char **argv) 43 44 /** 45 * Entry point. 46 */ 47 extern "C" DECLEXPORT(int) TrustedMain(int argc, char **argv) 44 48 { 45 49 RTR3InitExe(argc, &argv, 0); … … 310 314 } 311 315 316 #ifndef VBOX_WITH_HARDENING 317 /** 318 * Main entry point. 319 */ 320 int main(int argc, char **argv) 321 { 322 return TrustedMain(argc, argv); 323 } 324 #endif /* !VBOX_WITH_HARDENING */ 325 326 -
trunk/src/VBox/HostDrivers/Support/win/SUPHardenedVerifyProcess-win.cpp
r56293 r57351 206 206 /** 207 207 * VBox executables allowed to start VMs. 208 * @remarks Remember to keep in sync with SUPR3HardenedVerify.cpp. 208 * @remarks Remember to keep in sync with g_aSupInstallFiles in 209 * SUPR3HardenedVerify.cpp. 209 210 */ 210 211 static const char *g_apszSupNtVpAllowedVmExes[] = … … 222 223 "tstVMREQ.exe", 223 224 "tstCFGM.exe", 225 "tstGIP-2.exe", 224 226 "tstIntNet-1.exe", 225 227 "tstMMHyperHeap.exe",
Note:
See TracChangeset
for help on using the changeset viewer.