VirtualBox

Changeset 97174 in vbox for trunk


Ignore:
Timestamp:
Oct 17, 2022 5:02:37 PM (2 years ago)
Author:
vboxsync
Message:

VMM/NEMR3Native-darwin: Addendum for r154132, unmapping doesn't unwedge the map. Check whether it would be possible to make it work when we set g_fAppleHvNoWX upfront by determining the macOS version, bugref:9044

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/NEMR3Native-darwin.cpp

    r97169 r97174  
    29932993     * useful while debugging and enabling it causes a noticeable performance hit. */
    29942994    rc = CFGMR3QueryBoolDef(pCfgNem, "VmxLbr", &pVM->nem.s.fLbr, false);
     2995    AssertRCReturn(rc, rc);
     2996
     2997    /** @cfgm{/NEM/CatalinaWxWorkaround, bool, false}
     2998     * Whether to allow only W^X guest mappings due to a bug in the Catalina AppleHV
     2999     * driver refusing RWX when a properly signed binary is used.
     3000     */
     3001    rc = CFGMR3QueryBoolDef(pCfgNem, "CatalinaWxWorkaround", &g_fAppleHvNoWX, false);
    29953002    AssertRCReturn(rc, rc);
    29963003
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