Changeset 57358 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Aug 14, 2015 3:16:38 PM (10 years ago)
- svn:sync-xref-src-repo-rev:
- 102121
- Location:
- trunk/src/VBox/HostDrivers/Support
- Files:
-
- 62 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrv-dtrace.cpp
r56293 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP LOG_GROUP_SUP_DRV 32 32 #include "SUPDrvInternal.h" … … 108 108 109 109 110 /******************************************************************************* 111 * Structures and Typedefs *112 ******************************************************************************* /110 /********************************************************************************************************************************* 111 * Structures and Typedefs * 112 *********************************************************************************************************************************/ 113 113 /* Seems there is some return code difference here. Keep the return code and 114 114 case it to whatever the host desires. */ … … 172 172 173 173 174 /******************************************************************************* 175 * Defined Constants And Macros *176 ******************************************************************************* /174 /********************************************************************************************************************************* 175 * Defined Constants And Macros * 176 *********************************************************************************************************************************/ 177 177 /** The first magic value. */ 178 178 #define SUPDRVDT_STACK_DATA_MAGIC1 RT_MAKE_U32_FROM_U8('S', 'U', 'P', 'D') … … 212 212 213 213 214 /******************************************************************************* 215 * Global Variables *216 ******************************************************************************* /214 /********************************************************************************************************************************* 215 * Global Variables * 216 *********************************************************************************************************************************/ 217 217 #if defined(RT_OS_DARWIN) || defined(RT_OS_LINUX) 218 218 /** @name DTrace kernel interface used on Darwin and Linux. -
trunk/src/VBox/HostDrivers/Support/SUPDrv.cpp
r57229 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #define LOG_GROUP LOG_GROUP_SUP_DRV 31 32 #define SUPDRV_AGNOSTIC … … 91 92 92 93 93 /******************************************************************************* 94 * Defined Constants And Macros *95 ******************************************************************************* /94 /********************************************************************************************************************************* 95 * Defined Constants And Macros * 96 *********************************************************************************************************************************/ 96 97 /** @def VBOX_SVN_REV 97 98 * The makefile should define this if it can. */ … … 127 128 128 129 129 /******************************************************************************* 130 * Internal Functions *131 ******************************************************************************* /130 /********************************************************************************************************************************* 131 * Internal Functions * 132 *********************************************************************************************************************************/ 132 133 static DECLCALLBACK(int) supdrvSessionObjHandleRetain(RTHANDLETABLE hHandleTable, void *pvObj, void *pvCtx, void *pvUser); 133 134 static DECLCALLBACK(void) supdrvSessionObjHandleDelete(RTHANDLETABLE hHandleTable, uint32_t h, void *pvObj, void *pvCtx, void *pvUser); … … 152 153 153 154 154 /******************************************************************************* 155 * Global Variables *156 ******************************************************************************* /155 /********************************************************************************************************************************* 156 * Global Variables * 157 *********************************************************************************************************************************/ 157 158 /** 158 159 * Array of the R0 SUP API. -
trunk/src/VBox/HostDrivers/Support/SUPDrvGip.cpp
r57260 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #define LOG_GROUP LOG_GROUP_SUP_DRV 31 32 #define SUPDRV_AGNOSTIC … … 69 70 70 71 71 /******************************************************************************* 72 * Defined Constants And Macros *73 ******************************************************************************* /72 /********************************************************************************************************************************* 73 * Defined Constants And Macros * 74 *********************************************************************************************************************************/ 74 75 /** The frequency by which we recalculate the u32UpdateHz and 75 76 * u32UpdateIntervalNS GIP members. The value must be a power of 2. … … 120 121 121 122 122 /******************************************************************************* 123 * Internal Functions *124 ******************************************************************************* /123 /********************************************************************************************************************************* 124 * Internal Functions * 125 *********************************************************************************************************************************/ 125 126 static DECLCALLBACK(void) supdrvGipSyncAndInvariantTimer(PRTTIMER pTimer, void *pvUser, uint64_t iTick); 126 127 static DECLCALLBACK(void) supdrvGipAsyncTimer(PRTTIMER pTimer, void *pvUser, uint64_t iTick); … … 138 139 139 140 140 /******************************************************************************* 141 * Global Variables *142 ******************************************************************************* /141 /********************************************************************************************************************************* 142 * Global Variables * 143 *********************************************************************************************************************************/ 143 144 DECLEXPORT(PSUPGLOBALINFOPAGE) g_pSUPGlobalInfoPage = NULL; 144 145 -
trunk/src/VBox/HostDrivers/Support/SUPDrvSem.cpp
r55401 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #define LOG_GROUP LOG_GROUP_SUP_DRV 31 32 #define SUPDRV_AGNOSTIC -
trunk/src/VBox/HostDrivers/Support/SUPDrvTracer.cpp
r56293 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP LOG_GROUP_SUP_DRV 32 32 #define SUPDRV_AGNOSTIC … … 47 47 48 48 49 /******************************************************************************* 50 * Structures and Typedefs *51 ******************************************************************************* /49 /********************************************************************************************************************************* 50 * Structures and Typedefs * 51 *********************************************************************************************************************************/ 52 52 /** Pointer to a user tracer module registration record. */ 53 53 typedef struct SUPDRVTRACERUMOD *PSUPDRVTRACERUMOD; … … 158 158 159 159 160 /******************************************************************************* 161 * Defined Constants And Macros *162 ******************************************************************************* /160 /********************************************************************************************************************************* 161 * Defined Constants And Macros * 162 *********************************************************************************************************************************/ 163 163 /** Simple SUPR0Printf-style logging. */ 164 164 #ifdef DEBUG_bird … … 169 169 170 170 171 /******************************************************************************* 172 * Global Variables *173 ******************************************************************************* /171 /********************************************************************************************************************************* 172 * Global Variables * 173 *********************************************************************************************************************************/ 174 174 /** The address of the current probe fire routine for kernel mode. */ 175 175 PFNRT g_pfnSupdrvProbeFireKernel = supdrvTracerProbeFireStub; 176 176 177 177 178 /******************************************************************************* 179 * Internal Functions *180 ******************************************************************************* /178 /********************************************************************************************************************************* 179 * Internal Functions * 180 *********************************************************************************************************************************/ 181 181 static void supdrvVtgReleaseObjectCopy(PSUPDRVDEVEXT pDevExt, PSUPDRVVTGCOPY pThis); 182 182 -
trunk/src/VBox/HostDrivers/Support/SUPLib.cpp
r57229 r57358 43 43 */ 44 44 45 /******************************************************************************* 46 * Header Files * 47 *******************************************************************************/ 45 46 /********************************************************************************************************************************* 47 * Header Files * 48 *********************************************************************************************************************************/ 48 49 #define LOG_GROUP LOG_GROUP_SUP 49 50 #include <VBox/sup.h> … … 72 73 73 74 74 /******************************************************************************* 75 * Defined Constants And Macros *76 ******************************************************************************* /75 /********************************************************************************************************************************* 76 * Defined Constants And Macros * 77 *********************************************************************************************************************************/ 77 78 /** R0 VMM module name. */ 78 79 #define VMMR0_NAME "VMMR0" 79 80 80 81 81 /******************************************************************************* 82 * Structures and Typedefs *83 ******************************************************************************* /82 /********************************************************************************************************************************* 83 * Structures and Typedefs * 84 *********************************************************************************************************************************/ 84 85 typedef DECLCALLBACK(int) FNCALLVMMR0(PVMR0 pVMR0, unsigned uOperation, void *pvArg); 85 86 typedef FNCALLVMMR0 *PFNCALLVMMR0; 86 87 87 88 88 /******************************************************************************* 89 * Global Variables *90 ******************************************************************************* /89 /********************************************************************************************************************************* 90 * Global Variables * 91 *********************************************************************************************************************************/ 91 92 /** Init counter. */ 92 93 static uint32_t g_cInits = 0; … … 138 139 139 140 140 /******************************************************************************* 141 * Internal Functions *142 ******************************************************************************* /141 /********************************************************************************************************************************* 142 * Internal Functions * 143 *********************************************************************************************************************************/ 143 144 static int supInitFake(PSUPDRVSESSION *ppSession); 144 145 static int supLoadModule(const char *pszFilename, const char *pszModule, const char *pszSrvReqHandler, void **ppvImageBase); -
trunk/src/VBox/HostDrivers/Support/SUPLibAll.cpp
r57218 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #include <VBox/sup.h> 31 32 #ifdef IN_RC -
trunk/src/VBox/HostDrivers/Support/SUPLibLdr.cpp
r57004 r57358 43 43 */ 44 44 45 /******************************************************************************* 46 * Header Files * 47 *******************************************************************************/ 45 46 /********************************************************************************************************************************* 47 * Header Files * 48 *********************************************************************************************************************************/ 48 49 #define LOG_GROUP LOG_GROUP_SUP 49 50 #include <VBox/sup.h> … … 72 73 73 74 74 /******************************************************************************* 75 * Defined Constants And Macros *76 ******************************************************************************* /75 /********************************************************************************************************************************* 76 * Defined Constants And Macros * 77 *********************************************************************************************************************************/ 77 78 /** R0 VMM module name. */ 78 79 #define VMMR0_NAME "VMMR0" 79 80 80 81 81 /******************************************************************************* 82 * Structures and Typedefs *83 ******************************************************************************* /82 /********************************************************************************************************************************* 83 * Structures and Typedefs * 84 *********************************************************************************************************************************/ 84 85 typedef DECLCALLBACK(int) FNCALLVMMR0(PVMR0 pVMR0, unsigned uOperation, void *pvArg); 85 86 typedef FNCALLVMMR0 *PFNCALLVMMR0; 86 87 87 88 88 /******************************************************************************* 89 * Global Variables *90 ******************************************************************************* /89 /********************************************************************************************************************************* 90 * Global Variables * 91 *********************************************************************************************************************************/ 91 92 /** VMMR0 Load Address. */ 92 93 static RTR0PTR g_pvVMMR0 = NIL_RTR0PTR; 93 94 94 95 95 /******************************************************************************* 96 * Internal Functions *97 ******************************************************************************* /96 /********************************************************************************************************************************* 97 * Internal Functions * 98 *********************************************************************************************************************************/ 98 99 static int supLoadModule(const char *pszFilename, const char *pszModule, const char *pszSrvReqHandler, 99 100 PRTERRINFO pErrInfo, void **ppvImageBase); -
trunk/src/VBox/HostDrivers/Support/SUPLibSem.cpp
r56293 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #define LOG_GROUP LOG_GROUP_SUP 32 32 #include <VBox/sup.h> -
trunk/src/VBox/HostDrivers/Support/SUPR0-def-lx.sed
r56772 r57358 37 37 /^ { "/!d 38 38 39 # Handle trailing selection comment (/* solaris-only, os2-only */). 39 # Handle trailing selection comment (/* solaris-only, os2-only */). 40 40 /\*\/ *$/!b transform 41 41 /only-os2/b transform 42 42 /only-/!b transform 43 43 d 44 44 45 45 :transform 46 46 # Transform the export line, the format is like this: -
trunk/src/VBox/HostDrivers/Support/SUPR0-def-pe.sed
r56772 r57358 37 37 /^ { "/!d 38 38 39 # Handle trailing selection comment (/* solaris-only, windows-only */). 39 # Handle trailing selection comment (/* solaris-only, windows-only */). 40 40 /\*\/ *$/!b transform 41 41 /only-windows/b transform 42 42 /only-/!b transform 43 43 d 44 44 45 45 :transform 46 46 # Transform the export line, the format is like this: -
trunk/src/VBox/HostDrivers/Support/SUPR0IdcClient.c
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #include "SUPR0IdcClientInternal.h" 31 32 #include <VBox/err.h> … … 33 34 34 35 35 /******************************************************************************* 36 * Global Variables *37 ******************************************************************************* /36 /********************************************************************************************************************************* 37 * Global Variables * 38 *********************************************************************************************************************************/ 38 39 static PSUPDRVIDCHANDLE volatile g_pMainHandle = NULL; 39 40 -
trunk/src/VBox/HostDrivers/Support/SUPR0IdcClientComponent.c
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #include "SUPR0IdcClientInternal.h" 31 32 #include <VBox/err.h> -
trunk/src/VBox/HostDrivers/Support/SUPR0IdcClientStubs.c
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #include "SUPR0IdcClientInternal.h" 31 32 #include <VBox/err.h> -
trunk/src/VBox/HostDrivers/Support/SUPR3HardenedIPRT.cpp
r56733 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #define LOG_GROUP LOG_GROUP_SUP 31 32 #include <VBox/sup.h> -
trunk/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp
r56819 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #if defined(RT_OS_OS2) 31 32 # define INCL_BASE … … 89 90 90 91 91 /******************************************************************************* 92 * Defined Constants And Macros *93 ******************************************************************************* /92 /********************************************************************************************************************************* 93 * Defined Constants And Macros * 94 *********************************************************************************************************************************/ 94 95 /** @def SUP_HARDENED_SUID 95 96 * Whether we're employing set-user-ID-on-execute in the hardening. … … 111 112 112 113 113 /******************************************************************************* 114 * Structures and Typedefs *115 ******************************************************************************* /114 /********************************************************************************************************************************* 115 * Structures and Typedefs * 116 *********************************************************************************************************************************/ 116 117 /** @see RTR3InitEx */ 117 118 typedef DECLCALLBACK(int) FNRTR3INITEX(uint32_t iVersion, uint32_t fFlags, int cArgs, … … 124 125 125 126 126 /******************************************************************************* 127 * Global Variables *128 ******************************************************************************* /127 /********************************************************************************************************************************* 128 * Global Variables * 129 *********************************************************************************************************************************/ 129 130 /** The pre-init data we pass on to SUPR3 (residing in VBoxRT). */ 130 131 static SUPPREINITDATA g_SupPreInitData; … … 174 175 175 176 176 /******************************************************************************* 177 * Internal Functions *178 ******************************************************************************* /177 /********************************************************************************************************************************* 178 * Internal Functions * 179 *********************************************************************************************************************************/ 179 180 #ifdef SUP_HARDENED_SUID 180 181 static void supR3HardenedMainDropPrivileges(void); -
trunk/src/VBox/HostDrivers/Support/SUPR3HardenedNoCrt.cpp
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #if RT_OS_WINDOWS 31 32 # include <Windows.h> -
trunk/src/VBox/HostDrivers/Support/SUPR3HardenedVerify.cpp
r57351 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #if defined(RT_OS_OS2) 31 32 # define INCL_BASE … … 80 81 81 82 82 /******************************************************************************* 83 * Defined Constants And Macros *84 ******************************************************************************* /83 /********************************************************************************************************************************* 84 * Defined Constants And Macros * 85 *********************************************************************************************************************************/ 85 86 /** The max path length acceptable for a trusted path. */ 86 87 #define SUPR3HARDENED_MAX_PATH 260U … … 98 99 99 100 100 /******************************************************************************* 101 * Global Variables *102 ******************************************************************************* /101 /********************************************************************************************************************************* 102 * Global Variables * 103 *********************************************************************************************************************************/ 103 104 /** 104 105 * The files that gets verified. -
trunk/src/VBox/HostDrivers/Support/SUPSvc.cpp
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #define LOG_GROUP LOG_GROUP_SUP 31 32 #include <VBox/log.h> … … 38 39 39 40 40 /******************************************************************************* 41 * Structures and Typedefs *42 ******************************************************************************* /41 /********************************************************************************************************************************* 42 * Structures and Typedefs * 43 *********************************************************************************************************************************/ 43 44 /** 44 45 * Service state. … … 108 109 109 110 110 /******************************************************************************* 111 * Global Variables *112 ******************************************************************************* /111 /********************************************************************************************************************************* 112 * Global Variables * 113 *********************************************************************************************************************************/ 113 114 static SUPSVCSERVICE g_aServices[] = 114 115 { -
trunk/src/VBox/HostDrivers/Support/SUPSvcGlobal.cpp
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #include "SUPSvcInternal.h" 31 32 -
trunk/src/VBox/HostDrivers/Support/SUPSvcGrant.cpp
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #define LOG_GROUP LOG_GROUP_SUP 31 32 #include "SUPSvcInternal.h" … … 43 44 44 45 45 /******************************************************************************* 46 * Structures and Typedefs *47 ******************************************************************************* /46 /********************************************************************************************************************************* 47 * Structures and Typedefs * 48 *********************************************************************************************************************************/ 48 49 /** Pointer to a client instance. */ 49 50 typedef struct SUPSVCGRANTSESSION *PSUPSVCGRANTSESSION; … … 145 146 146 147 147 /******************************************************************************* 148 * Internal Functions *149 ******************************************************************************* /148 /********************************************************************************************************************************* 149 * Internal Functions * 150 *********************************************************************************************************************************/ 150 151 static const char *supSvcGrantStateName(SUPSVCGRANTSTATE enmState); 151 152 -
trunk/src/VBox/HostDrivers/Support/darwin/SUPDrv-darwin.cpp
r57266 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #define LOG_GROUP LOG_GROUP_SUP_DRV 31 32 #include "../../../Runtime/r0drv/darwin/the-darwin-kernel.h" … … 76 77 77 78 78 /******************************************************************************* 79 * Defined Constants And Macros *80 ******************************************************************************* /79 /********************************************************************************************************************************* 80 * Defined Constants And Macros * 81 *********************************************************************************************************************************/ 81 82 82 83 /** The system device node name. */ … … 87 88 88 89 89 /******************************************************************************* 90 * Internal Functions *91 ******************************************************************************* /90 /********************************************************************************************************************************* 91 * Internal Functions * 92 *********************************************************************************************************************************/ 92 93 RT_C_DECLS_BEGIN 93 94 static kern_return_t VBoxDrvDarwinStart(struct kmod_info *pKModInfo, void *pvData); … … 109 110 110 111 111 /******************************************************************************* 112 * Structures and Typedefs *113 ******************************************************************************* /112 /********************************************************************************************************************************* 113 * Structures and Typedefs * 114 *********************************************************************************************************************************/ 114 115 /** 115 116 * The service class. … … 161 162 162 163 163 /******************************************************************************* 164 * Global Variables *165 ******************************************************************************* /164 /********************************************************************************************************************************* 165 * Global Variables * 166 *********************************************************************************************************************************/ 166 167 /** 167 168 * Declare the module stuff. -
trunk/src/VBox/HostDrivers/Support/darwin/SUPLib-darwin.cpp
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #define LOG_GROUP LOG_GROUP_SUP 31 32 #ifdef IN_SUP_HARDENED_R3 … … 57 58 58 59 59 /******************************************************************************* 60 * Defined Constants And Macros *61 ******************************************************************************* /60 /********************************************************************************************************************************* 61 * Defined Constants And Macros * 62 *********************************************************************************************************************************/ 62 63 /** System device name. */ 63 64 #define DEVICE_NAME_SYS "/dev/vboxdrv" -
trunk/src/VBox/HostDrivers/Support/darwin/SUPR0IdcClient-darwin.c
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #include "../SUPR0IdcClientInternal.h" 31 32 #include <VBox/err.h> -
trunk/src/VBox/HostDrivers/Support/freebsd/SUPDrv-freebsd.c
r57108 r57358 29 29 */ 30 30 31 /******************************************************************************* 32 * Header Files * 33 *******************************************************************************/ 31 32 /********************************************************************************************************************************* 33 * Header Files * 34 *********************************************************************************************************************************/ 34 35 #define LOG_GROUP LOG_GROUP_SUP_DRV 35 36 /* Deal with conflicts first. */ … … 64 65 #endif 65 66 66 /******************************************************************************* 67 * Internal Functions * 68 *******************************************************************************/ 67 68 /********************************************************************************************************************************* 69 * Internal Functions * 70 *********************************************************************************************************************************/ 69 71 static int VBoxDrvFreeBSDModuleEvent(struct module *pMod, int enmEventType, void *pvArg); 70 72 static int VBoxDrvFreeBSDLoad(void); … … 78 80 79 81 80 /******************************************************************************* 81 * Global Variables *82 ******************************************************************************* /82 /********************************************************************************************************************************* 83 * Global Variables * 84 *********************************************************************************************************************************/ 83 85 /** 84 86 * Module info structure used by the kernel. -
trunk/src/VBox/HostDrivers/Support/freebsd/SUPLib-freebsd.cpp
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #define LOG_GROUP LOG_GROUP_SUP 31 32 #ifdef IN_SUP_HARDENED_R3 … … 56 57 #include <stdio.h> 57 58 58 /******************************************************************************* 59 * Defined Constants And Macros * 60 *******************************************************************************/ 59 60 /********************************************************************************************************************************* 61 * Defined Constants And Macros * 62 *********************************************************************************************************************************/ 61 63 /** System device name. */ 62 64 #define DEVICE_NAME_SYS "/dev/vboxdrv" -
trunk/src/VBox/HostDrivers/Support/freebsd/SUPR0IdcClient-freebsd.c
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #include "../SUPR0IdcClientInternal.h" 31 32 #include <VBox/err.h> -
trunk/src/VBox/HostDrivers/Support/linux/SUPDrv-linux.c
r57315 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #define LOG_GROUP LOG_GROUP_SUP_DRV 31 32 #include "../SUPDrvInternal.h" … … 67 68 68 69 69 /******************************************************************************* 70 * Defined Constants And Macros *71 ******************************************************************************* /70 /********************************************************************************************************************************* 71 * Defined Constants And Macros * 72 *********************************************************************************************************************************/ 72 73 /* check kernel version */ 73 74 # ifndef SUPDRV_AGNOSTIC … … 104 105 105 106 106 /******************************************************************************* 107 * Internal Functions *108 ******************************************************************************* /107 /********************************************************************************************************************************* 108 * Internal Functions * 109 *********************************************************************************************************************************/ 109 110 static int VBoxDrvLinuxInit(void); 110 111 static void VBoxDrvLinuxUnload(void); … … 132 133 133 134 134 /******************************************************************************* 135 * Global Variables *136 ******************************************************************************* /135 /********************************************************************************************************************************* 136 * Global Variables * 137 *********************************************************************************************************************************/ 137 138 /** 138 139 * Device extention & session data association structure. -
trunk/src/VBox/HostDrivers/Support/linux/SUPLib-linux.cpp
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #define LOG_GROUP LOG_GROUP_SUP 31 32 #ifdef IN_SUP_HARDENED_R3 … … 58 59 59 60 60 /******************************************************************************* 61 * Defined Constants And Macros *62 ******************************************************************************* /61 /********************************************************************************************************************************* 62 * Defined Constants And Macros * 63 *********************************************************************************************************************************/ 63 64 /** System device name. */ 64 65 #define DEVICE_NAME_SYS "/dev/vboxdrv" -
trunk/src/VBox/HostDrivers/Support/linux/SUPR0IdcClient-linux.c
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #include "../SUPR0IdcClientInternal.h" 31 32 #include <VBox/err.h> -
trunk/src/VBox/HostDrivers/Support/os2/SUPDrv-os2.cpp
r57108 r57358 29 29 */ 30 30 31 /******************************************************************************* 32 * Header Files * 33 *******************************************************************************/ 31 32 /********************************************************************************************************************************* 33 * Header Files * 34 *********************************************************************************************************************************/ 34 35 #define LOG_GROUP LOG_GROUP_SUP_DRV 35 36 #define __STDC_CONSTANT_MACROS … … 50 51 51 52 52 /******************************************************************************* 53 * Global Variables *54 ******************************************************************************* /53 /********************************************************************************************************************************* 54 * Global Variables * 55 *********************************************************************************************************************************/ 55 56 /** 56 57 * Device extention & session data association structure. … … 77 78 78 79 79 /******************************************************************************* 80 * Internal Functions *81 ******************************************************************************* /80 /********************************************************************************************************************************* 81 * Internal Functions * 82 *********************************************************************************************************************************/ 82 83 83 84 -
trunk/src/VBox/HostDrivers/Support/os2/SUPLib-os2.cpp
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #define INCL_BASE 31 32 #define INCL_ERRORS … … 56 57 57 58 58 /******************************************************************************* 59 * Defined Constants And Macros *60 ******************************************************************************* /59 /********************************************************************************************************************************* 60 * Defined Constants And Macros * 61 *********************************************************************************************************************************/ 61 62 /** OS/2 Device name. */ 62 63 #define DEVICE_NAME "/dev/vboxdrv$" -
trunk/src/VBox/HostDrivers/Support/os2/SUPR0IdcClient-os2.c
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #include "../SUPR0IdcClientInternal.h" 31 32 #include <VBox/err.h> -
trunk/src/VBox/HostDrivers/Support/solaris/SUPDrv-solaris.c
r57108 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #define LOG_GROUP LOG_GROUP_SUP_DRV 31 32 #include <sys/types.h> … … 65 66 66 67 67 /******************************************************************************* 68 * Defined Constants And Macros *69 ******************************************************************************* /68 /********************************************************************************************************************************* 69 * Defined Constants And Macros * 70 *********************************************************************************************************************************/ 70 71 /** The system device name. */ 71 72 #define DEVICE_NAME_SYS "vboxdrv" … … 78 79 79 80 80 /******************************************************************************* 81 * Internal Functions *82 ******************************************************************************* /81 /********************************************************************************************************************************* 82 * Internal Functions * 83 *********************************************************************************************************************************/ 83 84 static int VBoxDrvSolarisOpen(dev_t *pDev, int fFlag, int fType, cred_t *pCred); 84 85 static int VBoxDrvSolarisClose(dev_t Dev, int fFlag, int fType, cred_t *pCred); … … 95 96 96 97 97 /******************************************************************************* 98 * Global Variables *99 ******************************************************************************* /98 /********************************************************************************************************************************* 99 * Global Variables * 100 *********************************************************************************************************************************/ 100 101 /** 101 102 * cb_ops: for drivers that support char/block entry points -
trunk/src/VBox/HostDrivers/Support/solaris/SUPLib-solaris.cpp
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #define LOG_GROUP LOG_GROUP_SUP 31 32 #ifdef IN_SUP_HARDENED_R3 … … 62 63 63 64 64 /******************************************************************************* 65 * Defined Constants And Macros *66 ******************************************************************************* /65 /********************************************************************************************************************************* 66 * Defined Constants And Macros * 67 *********************************************************************************************************************************/ 67 68 /** Solaris device link - system. */ 68 69 #define DEVICE_NAME_SYS "/devices/pseudo/vboxdrv@0:vboxdrv" -
trunk/src/VBox/HostDrivers/Support/solaris/SUPR0IdcClient-solaris.c
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #include "../SUPR0IdcClientInternal.h" 31 32 #include <VBox/err.h> -
trunk/src/VBox/HostDrivers/Support/testcase/SUPInstall.cpp
r56293 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <VBox/sup.h> 32 32 #include <VBox/err.h> -
trunk/src/VBox/HostDrivers/Support/testcase/SUPLoggerCtl.cpp
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #include <VBox/sup.h> 31 32 #include <iprt/buildconfig.h> -
trunk/src/VBox/HostDrivers/Support/testcase/SUPUninstall.cpp
r56293 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <VBox/sup.h> 32 32 #include <VBox/err.h> -
trunk/src/VBox/HostDrivers/Support/testcase/tstContiguous.cpp
r56293 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <VBox/sup.h> 32 32 #include <VBox/param.h> -
trunk/src/VBox/HostDrivers/Support/testcase/tstGIP-2.cpp
r57354 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #include <VBox/sup.h> 31 32 #include <VBox/err.h> -
trunk/src/VBox/HostDrivers/Support/testcase/tstGetPagingMode.cpp
r56293 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <VBox/sup.h> 32 32 #include <VBox/err.h> -
trunk/src/VBox/HostDrivers/Support/testcase/tstInit.cpp
r56293 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <VBox/sup.h> 32 32 #include <VBox/err.h> -
trunk/src/VBox/HostDrivers/Support/testcase/tstInt.cpp
r56293 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <VBox/sup.h> 32 32 #include <VBox/vmm/vm.h> -
trunk/src/VBox/HostDrivers/Support/testcase/tstLow.cpp
r56293 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <VBox/sup.h> 32 32 #include <VBox/param.h> -
trunk/src/VBox/HostDrivers/Support/testcase/tstNtQueryStuff.cpp
r56293 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <iprt/nt/nt-and-windows.h> 32 32 #include <iprt/test.h> … … 34 34 35 35 36 /******************************************************************************* 37 * Structures and Typedefs *38 ******************************************************************************* /36 /********************************************************************************************************************************* 37 * Structures and Typedefs * 38 *********************************************************************************************************************************/ 39 39 typedef struct FLAGDESC 40 40 { … … 46 46 47 47 48 /******************************************************************************* 49 * Global Variables *50 ******************************************************************************* /48 /********************************************************************************************************************************* 49 * Global Variables * 50 *********************************************************************************************************************************/ 51 51 static RTTEST g_hTest = NIL_RTTEST; 52 52 static HANDLE g_hProcess = NULL; -
trunk/src/VBox/HostDrivers/Support/testcase/tstPage.cpp
r56293 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <VBox/sup.h> 32 32 #include <VBox/param.h> -
trunk/src/VBox/HostDrivers/Support/testcase/tstPin.cpp
r56990 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <VBox/sup.h> 32 32 #include <VBox/param.h> -
trunk/src/VBox/HostDrivers/Support/testcase/tstSupLoadModule.cpp
r56293 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <VBox/sup.h> 32 32 #include <VBox/err.h> -
trunk/src/VBox/HostDrivers/Support/testcase/tstSupSem-Zombie.cpp
r56293 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <VBox/sup.h> 32 32 … … 43 43 44 44 45 /******************************************************************************* 46 * Structures and Typedefs *47 ******************************************************************************* /45 /********************************************************************************************************************************* 46 * Structures and Typedefs * 47 *********************************************************************************************************************************/ 48 48 static PSUPDRVSESSION g_pSession; 49 49 static RTTEST g_hTest; -
trunk/src/VBox/HostDrivers/Support/testcase/tstSupSem.cpp
r57004 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <VBox/sup.h> 32 32 … … 44 44 45 45 46 /******************************************************************************* 47 * Structures and Typedefs *48 ******************************************************************************* /46 /********************************************************************************************************************************* 47 * Structures and Typedefs * 48 *********************************************************************************************************************************/ 49 49 static PSUPDRVSESSION g_pSession; 50 50 static RTTEST g_hTest; -
trunk/src/VBox/HostDrivers/Support/testcase/tstSupTscDelta.cpp
r56740 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #include <VBox/sup.h> 31 32 #include <VBox/err.h> -
trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp
r57303 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #define IPRT_NT_MAP_TO_ZW 31 32 #define LOG_GROUP LOG_GROUP_SUP_DRV … … 55 56 56 57 57 /******************************************************************************* 58 * Defined Constants And Macros *59 ******************************************************************************* /58 /********************************************************************************************************************************* 59 * Defined Constants And Macros * 60 *********************************************************************************************************************************/ 60 61 /** The support service name. */ 61 62 #define SERVICE_NAME "VBoxDrv" … … 86 87 87 88 88 /******************************************************************************* 89 * Structures and Typedefs *90 ******************************************************************************* /89 /********************************************************************************************************************************* 90 * Structures and Typedefs * 91 *********************************************************************************************************************************/ 91 92 /** 92 93 * Device extension used by VBoxDrvU. … … 273 274 274 275 275 /******************************************************************************* 276 * Internal Functions *277 ******************************************************************************* /276 /********************************************************************************************************************************* 277 * Internal Functions * 278 *********************************************************************************************************************************/ 278 279 static void _stdcall VBoxDrvNtUnload(PDRIVER_OBJECT pDrvObj); 279 280 static NTSTATUS _stdcall VBoxDrvNtCreate(PDEVICE_OBJECT pDevObj, PIRP pIrp); … … 308 309 309 310 310 /******************************************************************************* 311 * Exported Functions *312 ******************************************************************************* /311 /********************************************************************************************************************************* 312 * Exported Functions * 313 *********************************************************************************************************************************/ 313 314 RT_C_DECLS_BEGIN 314 315 ULONG _stdcall DriverEntry(PDRIVER_OBJECT pDrvObj, PUNICODE_STRING pRegPath); … … 316 317 317 318 318 /******************************************************************************* 319 * Global Variables *320 ******************************************************************************* /319 /********************************************************************************************************************************* 320 * Global Variables * 321 *********************************************************************************************************************************/ 321 322 /** Pointer to the system device instance. */ 322 323 static PDEVICE_OBJECT g_pDevObjSys = NULL; -
trunk/src/VBox/HostDrivers/Support/win/SUPHardenedVerifyImage-win.cpp
r57165 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #ifdef IN_RING0 31 32 # define IPRT_NT_MAP_TO_ZW … … 60 61 61 62 62 /******************************************************************************* 63 * Defined Constants And Macros *64 ******************************************************************************* /63 /********************************************************************************************************************************* 64 * Defined Constants And Macros * 65 *********************************************************************************************************************************/ 65 66 /** The size of static hash (output) buffers. 66 67 * Avoids dynamic allocations and cleanups for of small buffers as well as extra … … 76 77 77 78 78 /******************************************************************************* 79 * Structures and Typedefs *80 ******************************************************************************* /79 /********************************************************************************************************************************* 80 * Structures and Typedefs * 81 *********************************************************************************************************************************/ 81 82 82 83 #ifdef IN_RING3 … … 104 105 105 106 106 /******************************************************************************* 107 * Global Variables *108 ******************************************************************************* /107 /********************************************************************************************************************************* 108 * Global Variables * 109 *********************************************************************************************************************************/ 109 110 /** The build certificate. */ 110 111 static RTCRX509CERTIFICATE g_BuildX509Cert; … … 196 197 197 198 198 /******************************************************************************* 199 * Internal Functions *200 ******************************************************************************* /199 /********************************************************************************************************************************* 200 * Internal Functions * 201 *********************************************************************************************************************************/ 201 202 #ifdef IN_RING3 202 203 static int supR3HardNtViCallWinVerifyTrust(HANDLE hFile, PCRTUTF16 pwszName, uint32_t fFlags, PRTERRINFO pErrInfo, -
trunk/src/VBox/HostDrivers/Support/win/SUPHardenedVerifyProcess-win.cpp
r57351 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #ifdef IN_RING0 31 32 # define IPRT_NT_MAP_TO_ZW … … 52 53 53 54 54 /******************************************************************************* 55 * Structures and Typedefs *56 ******************************************************************************* /55 /********************************************************************************************************************************* 56 * Structures and Typedefs * 57 *********************************************************************************************************************************/ 57 58 /** 58 59 * Virtual address space region. … … 169 170 170 171 171 /******************************************************************************* 172 * Global Variables *173 ******************************************************************************* /172 /********************************************************************************************************************************* 173 * Global Variables * 174 *********************************************************************************************************************************/ 174 175 /** 175 176 * System DLLs allowed to be loaded into the process. -
trunk/src/VBox/HostDrivers/Support/win/SUPLib-win.cpp
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #define LOG_GROUP LOG_GROUP_SUP 31 32 #ifdef IN_SUP_HARDENED_R3 … … 57 58 58 59 59 /******************************************************************************* 60 * Defined Constants And Macros *61 ******************************************************************************* /60 /********************************************************************************************************************************* 61 * Defined Constants And Macros * 62 *********************************************************************************************************************************/ 62 63 /** The support service name. */ 63 64 #define SERVICE_NAME "VBoxDrv" 64 65 65 66 66 /******************************************************************************* 67 * Internal Functions *68 ******************************************************************************* /67 /********************************************************************************************************************************* 68 * Internal Functions * 69 *********************************************************************************************************************************/ 69 70 #ifndef IN_SUP_HARDENED_R3 70 71 static int suplibOsCreateService(void); … … 80 81 #endif 81 82 82 /******************************************************************************* 83 * Global Variables * 84 *******************************************************************************/ 83 84 /********************************************************************************************************************************* 85 * Global Variables * 86 *********************************************************************************************************************************/ 85 87 static bool g_fHardenedVerifyInited = false; 86 88 -
trunk/src/VBox/HostDrivers/Support/win/SUPR0IdcClient-win.c
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #include "../SUPR0IdcClientInternal.h" 31 32 #include <VBox/err.h> 32 33 33 34 34 /******************************************************************************* 35 * Defined Constants And Macros *36 ******************************************************************************* /35 /********************************************************************************************************************************* 36 * Defined Constants And Macros * 37 *********************************************************************************************************************************/ 37 38 /** NT Device name. */ 38 39 #define DEVICE_NAME_NT L"\\Device\\VBoxDrv" -
trunk/src/VBox/HostDrivers/Support/win/SUPR3HardenedMain-win.cpp
r57201 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #include <iprt/nt/nt-and-windows.h> 31 32 #include <AccCtrl.h> … … 61 62 62 63 63 /******************************************************************************* 64 * Defined Constants And Macros *65 ******************************************************************************* /64 /********************************************************************************************************************************* 65 * Defined Constants And Macros * 66 *********************************************************************************************************************************/ 66 67 /** The first argument of a respawed stub when respawned for the first time. 67 68 * This just needs to be unique enough to avoid most confusion with real … … 98 99 99 100 100 /******************************************************************************* 101 * Structures and Typedefs *102 ******************************************************************************* /101 /********************************************************************************************************************************* 102 * Structures and Typedefs * 103 *********************************************************************************************************************************/ 103 104 /** 104 105 * Security descriptor cleanup structure. … … 255 256 256 257 257 /******************************************************************************* 258 * Global Variables *259 ******************************************************************************* /258 /********************************************************************************************************************************* 259 * Global Variables * 260 *********************************************************************************************************************************/ 260 261 /** Process parameters. Specified by parent if VM process, see 261 262 * supR3HardenedVmProcessInit. */ … … 372 373 373 374 374 /******************************************************************************* 375 * Internal Functions *376 ******************************************************************************* /375 /********************************************************************************************************************************* 376 * Internal Functions * 377 *********************************************************************************************************************************/ 377 378 static NTSTATUS supR3HardenedScreenImage(HANDLE hFile, bool fImage, bool fIgnoreArch, PULONG pfAccess, PULONG pfProtect, 378 379 bool *pfCallRealApi, const char *pszCaller, bool fAvoidWinVerifyTrust, -
trunk/src/VBox/HostDrivers/Support/win/SUPR3HardenedMainImports-win.cpp
r56732 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #include <iprt/nt/nt-and-windows.h> 31 32 … … 41 42 42 43 43 /******************************************************************************* 44 * Defined Constants And Macros *45 ******************************************************************************* /44 /********************************************************************************************************************************* 45 * Defined Constants And Macros * 46 *********************************************************************************************************************************/ 46 47 #define SUPHARNT_COMMENT(a_Blah) /* nothing */ 47 48 … … 60 61 61 62 62 /******************************************************************************* 63 * Defined Constants And Macros *64 ******************************************************************************* /63 /********************************************************************************************************************************* 64 * Defined Constants And Macros * 65 *********************************************************************************************************************************/ 65 66 /** 66 67 * Import function entry. -
trunk/src/VBox/HostDrivers/Support/win/SUPR3HardenedNoCrt-win.cpp
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #include <iprt/nt/nt-and-windows.h> 31 32 #include <AccCtrl.h> -
trunk/src/VBox/HostDrivers/Support/win/SUPSvc-win.cpp
r56293 r57358 25 25 */ 26 26 27 /******************************************************************************* 28 * Header Files * 29 *******************************************************************************/ 27 28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 30 31 #define LOG_GROUP LOG_GROUP_SUP 31 32 #include <Windows.h> … … 46 47 47 48 48 /******************************************************************************* 49 * Defined Constants And Macros *50 ******************************************************************************* /49 /********************************************************************************************************************************* 50 * Defined Constants And Macros * 51 *********************************************************************************************************************************/ 51 52 /** The service name. */ 52 53 #define SUPSVC_SERVICE_NAME "VBoxSupSvc" … … 55 56 56 57 57 /******************************************************************************* 58 * Global Variables *59 ******************************************************************************* /58 /********************************************************************************************************************************* 59 * Global Variables * 60 *********************************************************************************************************************************/ 60 61 /** The service control handler handle. */ 61 62 static SERVICE_STATUS_HANDLE g_hSupSvcWinCtrlHandler = NULL; … … 66 67 67 68 68 /******************************************************************************* 69 * Internal Functions *70 ******************************************************************************* /69 /********************************************************************************************************************************* 70 * Internal Functions * 71 *********************************************************************************************************************************/ 71 72 static SC_HANDLE supSvcWinOpenSCManager(const char *pszAction, DWORD dwAccess); 72 73 -
trunk/src/VBox/HostDrivers/Support/win/VBoxSupLib-win.cpp
r56293 r57358 26 26 27 27 28 /******************************************************************************* 29 * Header Files *30 ******************************************************************************* /28 /********************************************************************************************************************************* 29 * Header Files * 30 *********************************************************************************************************************************/ 31 31 #include <iprt/nt/nt-and-windows.h> 32 32
Note:
See TracChangeset
for help on using the changeset viewer.