Changeset 72247 in vbox
- Timestamp:
- May 17, 2018 5:28:18 PM (7 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk
r72246 r72247 89 89 VirtualBoxHardenedVM_SOURCES.win = src/platform/win/VirtualBoxHardened.rc 90 90 VirtualBoxHardenedVM_NAME = VirtualBoxVM 91 VirtualBoxHardenedVM_DEFS = VBOX_GUI_WITH_SHARED_LIBRARY 91 92 VirtualBoxHardenedVM_LDFLAGS.win = /SUBSYSTEM:$(if-expr "$(KBUILD_TYPE)" != "release",console,windows) 92 93 src/platform/win/VirtualBoxHardened.rc_INCS = $(VirtualBox_0_OUTDIR) -
trunk/src/VBox/Frontends/VirtualBox/src/hardenedmain.cpp
r72219 r72247 65 65 uint32_t fFlags = (fStartVM && !fSeparateProcess) ? 0 : SUPSECMAIN_FLAGS_DONT_OPEN_DEV; 66 66 67 #ifdef VBOX_RUNTIME_UI 67 #ifndef VBOX_GUI_WITH_SHARED_LIBRARY 68 # ifdef VBOX_RUNTIME_UI 68 69 return SUPR3HardenedMain("VirtualBoxVM", 69 70 fFlags | SUPSECMAIN_FLAGS_TRUSTED_ERROR | SUPSECMAIN_FLAGS_OSX_VM_APP, 70 71 argc, argv, envp); 72 # else 73 return SUPR3HardenedMain("VirtualBox", 74 fFlags | SUPSECMAIN_FLAGS_TRUSTED_ERROR, 75 argc, argv, envp); 76 # endif 71 77 #else 72 return SUPR3HardenedMain("VirtualBox", fFlags | SUPSECMAIN_FLAGS_TRUSTED_ERROR, argc, argv, envp); 78 return SUPR3HardenedMain("VirtualBoxVM", 79 fFlags | SUPSECMAIN_FLAGS_TRUSTED_ERROR, 80 argc, argv, envp); 73 81 #endif 74 82 } -
trunk/src/VBox/HostDrivers/Support/Makefile.kmk
r72005 r72247 148 148 $(if $(VBOX_WITH_RAW_MODE),VBOX_WITH_RAW_MODE,) \ 149 149 $(if $(VBOX_WITH_REM),VBOX_WITH_REM,) \ 150 $(if $(VBOX_GUI_WITH_SHARED_LIBRARY),VBOX_GUI_WITH_SHARED_LIBRARY) \ 150 151 VBOX_PERMIT_MORE \ 151 152 VBOX_PERMIT_EVEN_MORE … … 193 194 $(if $(VBOX_WITHOUT_DEBUGGER_CHECKS),VBOX_WITHOUT_DEBUGGER_CHECKS,) \ 194 195 $(if $(VBOX_PERMIT_VISUAL_STUDIO_PROFILING),VBOX_PERMIT_VISUAL_STUDIO_PROFILING,) \ 196 $(if $(VBOX_GUI_WITH_SHARED_LIBRARY),VBOX_GUI_WITH_SHARED_LIBRARY) \ 195 197 VBOX_PERMIT_MORE \ 196 198 VBOX_PERMIT_EVEN_MORE … … 629 631 VBoxDrv_DEFS += VBOX_WITH_EFLAGS_AC_SET_IN_VBOXDRV IPRT_WITH_EFLAGS_AC_PRESERVING 630 632 endif 633 ifdef VBOX_GUI_WITH_SHARED_LIBRARY 634 VBoxDrv_DEFS += VBOX_GUI_WITH_SHARED_LIBRARY 635 endif 631 636 632 637 VBoxDrv_INCS = . $(VBoxDrv_0_OUTDIR) -
trunk/src/VBox/HostDrivers/Support/SUPR3HardenedVerify.cpp
r69500 r72247 199 199 //#ifdef VBOX_WITH_QTGUI 200 200 { kSupIFT_Exe, kSupID_AppBin, true, "VirtualBox" SUPLIB_EXE_SUFF }, 201 # ifndef VBOX_GUI_WITH_SHARED_LIBRARY 201 202 { kSupIFT_Dll, kSupID_AppPrivArch, true, "VirtualBox" SUPLIB_DLL_SUFF }, 202 # ifdef RT_OS_DARWIN203 # ifdef RT_OS_DARWIN 203 204 { kSupIFT_Exe, kSupID_AppBin, true, "VirtualBoxVM" SUPLIB_EXE_SUFF }, 205 # endif 206 # else 207 { kSupIFT_Exe, kSupID_AppBin, true, "VirtualBoxVM" SUPLIB_EXE_SUFF }, 208 { kSupIFT_Dll, kSupID_AppPrivArch, true, "VirtualBoxVM" SUPLIB_DLL_SUFF }, 209 { kSupIFT_Dll, kSupID_AppPrivArch, true, "VBoxGlobal" SUPLIB_DLL_SUFF }, 204 210 # endif 205 211 # if !defined(RT_OS_DARWIN) && !defined(RT_OS_WINDOWS) && !defined(RT_OS_OS2) -
trunk/src/VBox/HostDrivers/Support/win/SUPHardenedVerifyProcess-win.cpp
r69774 r72247 213 213 { 214 214 "VBoxHeadless.exe", 215 #ifndef VBOX_GUI_WITH_SHARED_LIBRARY 215 216 "VirtualBox.exe", 217 #else 218 "VirtualBoxVM.exe", 219 #endif 216 220 "VBoxSDL.exe", 217 221 "VBoxNetDHCP.exe",
Note:
See TracChangeset
for help on using the changeset viewer.