- Timestamp:
- Oct 30, 2019 12:50:42 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/alloc-r0drv-linux.c
r77727 r81586 444 444 445 445 SetPageReserved(&paPages[iPage]); 446 #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 4, 20) /** @todo find the exact kernel where change_page_attr was introduced. */447 MY_SET_PAGES_EXEC(&paPages[iPage], 1);448 #endif449 446 } 450 447 *pPhys = page_to_phys(paPages); … … 492 489 { 493 490 ClearPageReserved(&paPages[iPage]); 494 #if LINUX_VERSION_CODE > KERNEL_VERSION(2, 4, 20) /** @todo find the exact kernel where change_page_attr was introduced. */495 MY_SET_PAGES_NOEXEC(&paPages[iPage], 1);496 #endif497 491 } 498 492 __free_pages(paPages, cOrder);
Note:
See TracChangeset
for help on using the changeset viewer.