authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-04-21 21:58:27+02:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-04-25 21:49:39+02:00
logf3bd49a5d8a8c12e46b930c81435e0306ec7ab46
treecccb892212bf2b84a653f2ce4e73dd617a65cb8b
parentdbaea8d67e680121f4e917458a99bc538b473d9d
signaturebadge-check Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

libtsan: backport llvm/llvm-project#183411

https://github.com/llvm/llvm-project/pull/183411

1 files changed, 2 insertions(+), 1 deletions(-)

lib/libtsan/sanitizer_common/sanitizer_platform_limits_posix.cpp+2-1
......@@ -76,6 +76,7 @@
7676#include <sys/vt.h>
7777#include <linux/cdrom.h>
7878#include <linux/fd.h>
79#include <linux/filter.h>
7980#if SANITIZER_ANDROID
8081#include <linux/fs.h>
8182#endif
......@@ -516,6 +517,7 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr);
516517 unsigned struct_seq_event_rec_sz = sizeof(struct seq_event_rec);
517518 unsigned struct_synth_info_sz = sizeof(struct synth_info);
518519 unsigned struct_vt_mode_sz = sizeof(struct vt_mode);
520 unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog);
519521#endif // SANITIZER_LINUX
520522
521523#if SANITIZER_GLIBC
......@@ -543,7 +545,6 @@ unsigned struct_ElfW_Phdr_sz = sizeof(Elf_Phdr);
543545
544546 unsigned struct_audio_buf_info_sz = sizeof(struct audio_buf_info);
545547 unsigned struct_ppp_stats_sz = sizeof(struct ppp_stats);
546 unsigned struct_sock_fprog_sz = sizeof(struct sock_fprog);
547548# endif // SANITIZER_GLIBC
548549
549550# if !SANITIZER_ANDROID && !SANITIZER_APPLE && !SANITIZER_HAIKU