Changeset 72247 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- May 17, 2018 5:28:18 PM (7 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 2 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 }
Note:
See TracChangeset
for help on using the changeset viewer.