]> git.ipfire.org Git - thirdparty/gcc.git/commit
libsanitizer: Fix build with glibc 2.42
authorFlorian Weimer <fweimer@redhat.com>
Fri, 2 May 2025 15:41:43 +0000 (17:41 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Fri, 2 May 2025 15:41:43 +0000 (17:41 +0200)
commit1789c57dc97ea2f9819ef89e28bf17208b6208e7
treed05fe7143817695fe44a06a2ee4aa3513439ee14
parenta4a726ca9485b07fb56a1442b5f9e5679944ed06
libsanitizer: Fix build with glibc 2.42

The termio structure will be removed from glibc 2.42.  It has
been deprecated since the late 80s/early 90s.

Cherry-picked from LLVM commit 59978b21ad9c65276ee8e14f26759691b8a65763
("[sanitizer_common] Remove interceptors for deprecated struct termio
(#137403)").

Co-Authored-By: Tom Stellard <tstellar@redhat.com>
libsanitizer/

* sanitizer_common/sanitizer_common_interceptors_ioctl.inc: Cherry
picked from LLVM commit 59978b21ad9c65276ee8e14f26759691b8a65763.
* sanitizer_common/sanitizer_platform_limits_posix.cpp: Likewise.
* sanitizer_common/sanitizer_platform_limits_posix.h: Likewise.
libsanitizer/sanitizer_common/sanitizer_common_interceptors_ioctl.inc
libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp
libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.h