Changeset 81369 in vbox for trunk/src/VBox/HostDrivers/Support
- Timestamp:
- Oct 18, 2019 9:13:03 PM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 134082
- Location:
- trunk/src/VBox/HostDrivers/Support
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrvIDC.h
r76568 r81369 40 40 * @remarks We can take a slightly more relaxed attitude wrt to size encoding 41 41 * here since only windows will use standard I/O control function code. 42 */ 42 * 43 * @{ 44 */ 45 43 46 #ifdef RT_OS_WINDOWS 44 47 # define SUP_IDC_CODE(Function) CTL_CODE(FILE_DEVICE_UNKNOWN, (Function) + 2542, METHOD_BUFFERED, FILE_WRITE_ACCESS) … … 48 51 49 52 50 /*******************************************************************************51 * Structures and Typedefs *52 *******************************************************************************/53 53 #ifdef RT_ARCH_AMD64 54 54 # pragma pack(8) /* paranoia. */ -
trunk/src/VBox/HostDrivers/Support/SUPDrvIOC.h
r81106 r81369 1636 1636 * This queries a lot more information than merely VT-x/AMD-V basic capabilities 1637 1637 * provided by SUP_IOCTL_VT_CAPS. 1638 * 1639 * @{ 1638 1640 */ 1639 1641 #define SUP_IOCTL_GET_HWVIRT_MSRS SUP_CTL_CODE_SIZE(41, SUP_IOCTL_GET_HWVIRT_MSRS_SIZE) -
trunk/src/VBox/HostDrivers/Support/SUPLibInternal.h
r76568 r81369 68 68 * Whether we're employing set-user-ID-on-execute in the hardening. 69 69 */ 70 #if !defined(RT_OS_OS2) && !defined(RT_OS_WINDOWS) && !defined(RT_OS_L4)70 #if (!defined(RT_OS_OS2) && !defined(RT_OS_WINDOWS) && !defined(RT_OS_L4)) || defined(DOXYGEN_RUNNING) 71 71 # define SUP_HARDENED_SUID 72 72 #else -
trunk/src/VBox/HostDrivers/Support/SUPLibLdr.cpp
r76553 r81369 23 23 * You may elect to license modified versions of this file under the 24 24 * terms and conditions of either the GPL or the CDDL or both. 25 */26 27 /** @page pg_sup SUP - The Support Library28 *29 * The support library is responsible for providing facilities to load30 * VMM Host Ring-0 code, to call Host VMM Ring-0 code from Ring-3 Host31 * code, to pin down physical memory, and more.32 *33 * The VMM Host Ring-0 code can be combined in the support driver if34 * permitted by kernel module license policies. If it is not combined35 * it will be externalized in a .r0 module that will be loaded using36 * the IPRT loader.37 *38 * The Ring-0 calling is done thru a generic SUP interface which will39 * transfer an argument set and call a predefined entry point in the Host40 * VMM Ring-0 code.41 *42 * See @ref grp_sup "SUP - Support APIs" for API details.43 25 */ 44 26 -
trunk/src/VBox/HostDrivers/Support/SUPR3HardenedMain.cpp
r80216 r81369 459 459 * Defined Constants And Macros * 460 460 *********************************************************************************************************************************/ 461 /** @def SUP_HARDENED_SUID 462 * Whether we're employing set-user-ID-on-execute in the hardening. 463 */ 461 /* This mess is temporary after eliminating a define duplicated in SUPLibInternal.h. */ 464 462 #if !defined(RT_OS_OS2) && !defined(RT_OS_WINDOWS) && !defined(RT_OS_L4) 465 # define SUP_HARDENED_SUID 463 # ifndef SUP_HARDENED_SUID 464 # error "SUP_HARDENED_SUID is NOT defined?!?" 465 # endif 466 466 #else 467 # undef SUP_HARDENED_SUID 467 # ifdef SUP_HARDENED_SUID 468 # error "SUP_HARDENED_SUID is defined?!?" 469 # endif 468 470 #endif 469 471 -
trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp
r81161 r81369 2688 2688 2689 2689 2690 /**2691 * Alternative version of SUPR0Printf for Windows.2692 *2693 * @returns 0.2694 * @param pszFormat The format string.2695 */2696 2690 SUPR0DECL(int) SUPR0Printf(const char *pszFormat, ...) 2697 2691 {
Note:
See TracChangeset
for help on using the changeset viewer.