VirtualBox

Changeset 40751 in vbox


Ignore:
Timestamp:
Apr 3, 2012 7:43:32 AM (13 years ago)
Author:
vboxsync
Message:

removed posix comment from win source

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/alloc-win.cpp

    r33269 r40751  
    2929*   Header Files                                                               *
    3030*******************************************************************************/
     31/*#define USE_VIRTUAL_ALLOC*/
    3132#define LOG_GROUP RTLOGGROUP_MEM
    3233#include <Windows.h>
     
    5455    if (pv)
    5556    {
    56         /*
    57          * Add PROT_EXEC flag to the page.
    58          *
    59          * This is in violation of the SuS where I think it saith that mprotect() shall
    60          * only be used with mmap()'ed memory. Works on linux and OS/2 LIBC v0.6.
    61          */
    6257        memset(pv, 0xcc, cb);
    6358        void   *pvProt = (void *)((uintptr_t)pv & ~PAGE_OFFSET_MASK);
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