Changeset 98096 in vbox for trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.h
- Timestamp:
- Jan 16, 2023 4:16:36 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/sharedfolders/vfsmod.h
r96407 r98096 77 77 # define SFLOG_ENABLED 1 78 78 # define SFLOGRELBOTH(aArgs) do { RTLogBackdoorPrintf aArgs; printk aArgs; } while (0) 79 #endif 80 81 82 /* Simmilar workaround for CONFIG_FORTIFY_SOURCE kernel config option as we have for host drivers. 83 * In Linux 5.18-rc1, memcpy became a wrapper which does fortify checks 84 * before triggering __underlying_memcpy() call. We do not pass these checks in some places so 85 * bypass them for now. */ 86 #if RTLNX_VER_MIN(5,18,0) && !defined(__NO_FORTIFY) && defined(__OPTIMIZE__) && defined(CONFIG_FORTIFY_SOURCE) 87 # define VBOX_LINUX_MEMCPY __underlying_memcpy 88 #else 89 #define VBOX_LINUX_MEMCPY memcpy 79 90 #endif 80 91
Note:
See TracChangeset
for help on using the changeset viewer.