VirtualBox

Ignore:
Timestamp:
Jan 17, 2022 11:47:09 AM (3 years ago)
Author:
vboxsync
Message:

SUPHardNt: The supR3HardenedMonitor_NtCreateSection and supR3HardenedMonitor_LdrLoadDll needs to have -guard:cf disabled so we can call the real functions w/o getting into trouble. bugref:10162

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/win/SUPR3HardenedMain-win.cpp

    r93256 r93270  
    16291629 * @param   hFile               The file to create a section from (optional).
    16301630 */
     1631__declspec(guard(ignore)) /* don't barf when calling g_pfnNtCreateSectionReal */
    16311632static NTSTATUS NTAPI
    16321633supR3HardenedMonitor_NtCreateSection(PHANDLE phSection, ACCESS_MASK fAccess, POBJECT_ATTRIBUTES pObjAttribs,
     
    19471948 *                              returned to the caller.
    19481949 */
     1950__declspec(guard(ignore)) /* don't barf when calling g_pfnLdrLoadDllReal */
    19491951static NTSTATUS NTAPI
    19501952supR3HardenedMonitor_LdrLoadDll(PWSTR pwszSearchPath, PULONG pfFlags, PUNICODE_STRING pName, PHANDLE phMod)
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette