VirtualBox

Changeset 85516 in vbox for trunk


Ignore:
Timestamp:
Jul 29, 2020 10:47:38 AM (4 years ago)
Author:
vboxsync
Message:

IPRT/memobj-r0drv-linux.c: Enable IPRT_USE_ALLOC_VM_AREA_FOR_EXEC for linux 3.2 and later. bugref:9801

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/linux/memobj-r0drv-linux.c

    r85514 r85516  
    5555/** @def IPRT_USE_ALLOC_VM_AREA_FOR_EXEC
    5656 * Whether we use alloc_vm_area (3.2+) for executable memory.
    57  * This is a must for 5.8+, but we'll enable it for earlier kernels later. */
    58 #if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 8, 0) || defined(DOXYGEN_RUNNING)
     57 * This is a must for 5.8+, but we enable it all the way back to 3.2.x for
     58 * better W^R compliance (fExecutable flag). */
     59#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 2, 0) || defined(DOXYGEN_RUNNING)
    5960# define IPRT_USE_ALLOC_VM_AREA_FOR_EXEC
    6061#endif
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