Changeset 85702 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Aug 11, 2020 6:38:50 PM (4 years ago)
- Location:
- trunk/src/VBox/Runtime/r0drv/linux
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r0drv/linux/memuserkernel-r0drv-linux.c
r85698 r85702 67 67 { 68 68 IPRT_LINUX_SAVE_EFL_AC(); 69 #if RTLNX_VER_MIN(5,0,0) || defined(RHEL_81)69 #if RTLNX_VER_MIN(5,0,0) || RTLNX_RHEL_PREREQ(8,1) 70 70 bool fRc = access_ok((void *)R3Ptr, 1); 71 71 #else … … 87 87 #else 88 88 # error "PORT ME" 89 #if RTLNX_VER_MIN(5,0,0) || defined(RHEL_81)89 #if RTLNX_VER_MIN(5,0,0) || RTLNX_RHEL_PREREQ(8,1) 90 90 return !access_ok(pv, 1); 91 91 #else -
trunk/src/VBox/Runtime/r0drv/linux/the-linux-kernel.h
r85698 r85702 474 474 RTDECL(struct page *) rtR0MemObjLinuxVirtToPage(void *pv); 475 475 476 /*477 * Guest Additions changes specific to Red Hat 8.1 and later.478 */479 #ifdef RHEL_RELEASE_CODE480 # if RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(8, 1)481 # define RHEL_81482 # endif483 # if RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(8, 2)484 # define RHEL_82485 # endif486 #endif487 488 476 #endif /* !IPRT_INCLUDED_SRC_r0drv_linux_the_linux_kernel_h */
Note:
See TracChangeset
for help on using the changeset viewer.