VirtualBox

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


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

IPRT,lnx-kmods: s/RTLNX_RHEL_PREREQ/RTLNX_RHEL_MIN/; added RTLNX_RHEL_MAX and RTLNX_RHEL_RANGE. Use them instead of the RHEL_XXXX defines everywhere.

Location:
trunk/src/VBox/Additions/linux/sharedfolders
Files:
2 edited

Legend:

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

    r85702 r85703  
    14021402     * Check that this is valid user memory that is actually in the kernel range.
    14031403     */
    1404 #if RTLNX_VER_MIN(5,0,0) || RTLNX_RHEL_PREREQ(8,1)
     1404#if RTLNX_VER_MIN(5,0,0) || RTLNX_RHEL_MIN(8,1)
    14051405    if (   access_ok((void *)uPtrFrom, cPages << PAGE_SHIFT)
    14061406        && uPtrFrom >= USER_DS.seg)
  • trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.h

    r85698 r85703  
    9999#endif /* < 2.6.0 */
    100100
    101 #if  RTLNX_VER_MAX(3,2,0) \
    102   && (!defined(RHEL_MAJOR) || RHEL_MAJOR != 6 || RHEL_MINOR < 10)
     101#if RTLNX_VER_MAX(3,2,0) && !RTLNX_RHEL_MIN(6, 10)
    103102DECLINLINE(void) set_nlink(struct inode *pInode, unsigned int cLinks)
    104103{
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