kernel-5.12.diff 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. (this patch has to be applied after the glibc-2.28 one)
  2. diff -Naur gcc-5.5.0.orig/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc gcc-5.5.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc
  3. --- gcc-5.5.0.orig/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc 2021-08-19 12:21:14.786000000 +0200
  4. +++ gcc-5.5.0/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cc 2021-08-19 12:22:30.135000000 +0200
  5. @@ -138,7 +138,6 @@
  6. #include <sys/statvfs.h>
  7. #include <sys/timex.h>
  8. #include <sys/user.h>
  9. -#include <linux/cyclades.h>
  10. #include <linux/if_eql.h>
  11. #include <linux/if_plip.h>
  12. #include <linux/lp.h>
  13. @@ -387,7 +386,6 @@
  14. #if SANITIZER_LINUX && !SANITIZER_ANDROID
  15. unsigned struct_ax25_parms_struct_sz = sizeof(struct ax25_parms_struct);
  16. - unsigned struct_cyclades_monitor_sz = sizeof(struct cyclades_monitor);
  17. #if EV_VERSION > (0x010000)
  18. unsigned struct_input_keymap_entry_sz = sizeof(struct input_keymap_entry);
  19. #else
  20. @@ -754,15 +752,6 @@
  21. #endif // SANITIZER_LINUX || SANITIZER_FREEBSD
  22. #if SANITIZER_LINUX && !SANITIZER_ANDROID
  23. - unsigned IOCTL_CYGETDEFTHRESH = CYGETDEFTHRESH;
  24. - unsigned IOCTL_CYGETDEFTIMEOUT = CYGETDEFTIMEOUT;
  25. - unsigned IOCTL_CYGETMON = CYGETMON;
  26. - unsigned IOCTL_CYGETTHRESH = CYGETTHRESH;
  27. - unsigned IOCTL_CYGETTIMEOUT = CYGETTIMEOUT;
  28. - unsigned IOCTL_CYSETDEFTHRESH = CYSETDEFTHRESH;
  29. - unsigned IOCTL_CYSETDEFTIMEOUT = CYSETDEFTIMEOUT;
  30. - unsigned IOCTL_CYSETTHRESH = CYSETTHRESH;
  31. - unsigned IOCTL_CYSETTIMEOUT = CYSETTIMEOUT;
  32. unsigned IOCTL_EQL_EMANCIPATE = EQL_EMANCIPATE;
  33. unsigned IOCTL_EQL_ENSLAVE = EQL_ENSLAVE;
  34. unsigned IOCTL_EQL_GETMASTRCFG = EQL_GETMASTRCFG;