VirtualBox

Changeset 94500 in vbox


Ignore:
Timestamp:
Apr 6, 2022 5:04:44 PM (3 years ago)
Author:
vboxsync
Message:

Linux: Host Drivers: SUPDrv: Initial support for kernel 5.18-rc1, bugref:10209.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/SUPDrv.cpp

    r93616 r94500  
    17521752            /* execute */
    17531753            pReq->u.Out.cFunctions = RT_ELEMENTS(g_aFunctions);
     1754
     1755            /* In 5.18.0, memcpy became a wrapper which does fortify checks
     1756             * before triggering __underlying_memcpy() call. We do not pass these checks here,
     1757             * so bypass them for now.  */
     1758#if RTLNX_VER_MIN(5,18,0)
     1759            __underlying_memcpy(&pReq->u.Out.aFunctions[0], g_aFunctions, sizeof(g_aFunctions));
     1760#else
    17541761            memcpy(&pReq->u.Out.aFunctions[0], g_aFunctions, sizeof(g_aFunctions));
     1762#endif
    17551763            pReq->Hdr.rc = VINF_SUCCESS;
    17561764            return 0;
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