VirtualBox

Changeset 41061 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
Apr 26, 2012 1:03:26 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
77626
Message:

alloc-r0drv-darwin.cpp: call RTR0MemObjProtect since fExecutable isn't currently respected.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/darwin/alloc-r0drv-darwin.cpp

    r41054 r41061  
    8181        pExHdr->hMemObj = hMemObj;
    8282        pHdr = &pExHdr->Hdr;
     83#if 1 /*fExecutable isn't currently honored above. */
     84        rc = RTR0MemObjProtect(hMemObj, 0, RTR0MemObjSize(hMemObj), RTMEM_PROT_READ | RTMEM_PROT_WRITE | RTMEM_PROT_EXEC);
     85        AssertRC(rc);
     86#endif
    8387    }
    8488    else
Note: See TracChangeset for help on using the changeset viewer.

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