Changeset 47863 in vbox for trunk/src/VBox/NetworkServices
- Timestamp:
- Aug 20, 2013 3:44:39 AM (11 years ago)
- Location:
- trunk/src/VBox/NetworkServices/NAT
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/NetworkServices/NAT/Makefile.kmk
r47692 r47863 67 67 ifdef VBOX_WITH_LWIP_NAT 68 68 69 ifdef VBOX_WITH_HARDENING 70 PROGRAMS += VBoxNetLwipNATHardened 71 DLLS += VBoxNetLwipNAT 72 else 73 PROGRAMS += VBoxNetLwipNAT 74 endif 75 76 ifdef VBOX_WITH_HARDENING 77 VBoxNetLwipNATHardened_SOURCES += VBoxNetNATHardened.cpp 78 VBoxNetLwipNATHardened_DEFS += SERVICE_NAME=VBoxNetLwipNAT 79 VBoxNetLwipNATHardened_TEMPLATE=VBOXR3EXE 80 endif 81 69 82 PROGRAMS += VBoxNetLwipNAT 70 83 VBoxNetLwipNAT_TEMPLATE = 71 VBoxNetLwipNAT_TEMPLATE := VBOXMAINCLIENT EXE84 VBoxNetLwipNAT_TEMPLATE := VBOXMAINCLIENT$(if-expr defined(VBOX_WITH_HARDENING),DLL,EXE) 72 85 VBoxNetLwipNAT_INCS += ../../Devices/Network \ 73 86 ../../Devices/Network/lwip-new/vbox # testproxy.h -
trunk/src/VBox/NetworkServices/NAT/VBoxNetNATHardened.cpp
r44529 r47863 18 18 #include <VBox/sup.h> 19 19 20 #ifndef SERVICE_NAME 21 # error "Please define SERVICE_NAME" 22 #endif 20 23 21 24 int main(int argc, char **argv, char **envp) 22 25 { 23 return SUPR3HardenedMain( "VBoxNetNAT", 0 /* fFlags */, argc, argv, envp);26 return SUPR3HardenedMain(RT_STR(SERVICE_NAME), 0 /* fFlags */, argc, argv, envp); 24 27 }
Note:
See TracChangeset
for help on using the changeset viewer.