VirtualBox

Ignore:
Timestamp:
Apr 6, 2022 6:08:10 PM (3 years ago)
Author:
vboxsync
Message:

Linux: Host Drivers: SUPDrv: make sure that module builds if CONFIG_FORTIFY_SOURCE not enabled, ​​bugref:10209.

File:
1 edited

Legend:

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

    r94503 r94504  
    8080 * before triggering __underlying_memcpy() call. We do not pass these checks here,
    8181 * so bypass them for now.  */
    82 # if RTLNX_VER_MIN(5,18,0)
     82# if RTLNX_VER_MIN(5,18,0) && !defined(__NO_FORTIFY) && defined(__OPTIMIZE__) && defined(CONFIG_FORTIFY_SOURCE)
    8383#  define SUPDRV_MEMCPY __underlying_memcpy
    8484# else
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