VirtualBox

Changeset 85702 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Aug 11, 2020 6:38:50 PM (4 years ago)
Author:
vboxsync
Message:

IPRT,lnx-kmods: s/VBOX_RHEL_MAJ_PREREQ/RTLNX_RHEL_MAJ_PREREQ/ and added RTLNX_RHEL_PREREQ. Eliminated confusing RHEL_81 & RHEL_82 defines from the-linux-kernel.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/sharedfolders/regops.c

    r85698 r85702  
    14021402     * Check that this is valid user memory that is actually in the kernel range.
    14031403     */
    1404 #if RTLNX_VER_MIN(5,0,0) || defined(RHEL_81)
     1404#if RTLNX_VER_MIN(5,0,0) || RTLNX_RHEL_PREREQ(8,1)
    14051405    if (   access_ok((void *)uPtrFrom, cPages << PAGE_SHIFT)
    14061406        && uPtrFrom >= USER_DS.seg)
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