VirtualBox

Changeset 101142 in vbox for trunk/include


Ignore:
Timestamp:
Sep 18, 2023 11:12:16 AM (17 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
159115
Message:

IPRT/mem: Added a RTMEMPAGEALLOC_F_EXECUTABLE to RTMemPageAllocEx. Untested on windows. bugref:10370

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/mem.h

    r98103 r101142  
    507507/** Try prevent the memory from ending up in a dump/core. */
    508508#define RTMEMPAGEALLOC_F_ADVISE_NO_DUMP RT_BIT_32(2)
     509/** Allocate pages that are readable, writeable and executable.
     510 * @note This may fail on some platforms for security policy reasons. */
     511#define RTMEMPAGEALLOC_F_EXECUTABLE     RT_BIT_32(3)
    509512/** Valid bit mask. */
    510 #define RTMEMPAGEALLOC_F_VALID_MASK     UINT32_C(0x00000007)
     513#define RTMEMPAGEALLOC_F_VALID_MASK     UINT32_C(0x0000000f)
    511514/** @} */
    512515
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