HardenedBSD/contrib
Dimitry Andric 1c21bfb1b1 Apply fix for ThreadSanitizer false positive data race reports
Merge commit 28fb22c90fe7 from llvm git (by Dimitry Andric):

  [TSan] Handle FreeBSD specific indirection of libpthread functions

  Similar to 60cc1d3218fc for NetBSD, add aliases and interceptors for the
  following pthread related functions:

  - pthread_cond_init(3)
  - pthread_cond_destroy(3)
  - pthread_cond_signal(3)
  - pthread_cond_broadcast(3)
  - pthread_cond_wait(3)
  - pthread_mutex_init(3)
  - pthread_mutex_destroy(3)
  - pthread_mutex_lock(3)
  - pthread_mutex_trylock(3)
  - pthread_mutex_unlock(3)
  - pthread_rwlock_init(3)
  - pthread_rwlock_destroy(3)
  - pthread_rwlock_rdlock(3)
  - pthread_rwlock_tryrdlock(3)
  - pthread_rwlock_wrlock(3)
  - pthread_rwlock_trywrlock(3)
  - pthread_rwlock_unlock(3)
  - pthread_once(3)
  - pthread_sigmask(3)

  In FreeBSD's libc, a number of internal aliases of the pthread functions
  are invoked, typically with an additional prefixed underscore, e.g.
  _pthread_cond_init() and so on.

  ThreadSanitizer needs to intercept these aliases too, otherwise some
  false positive reports about data races might be produced.

  Reviewed By: dvyukov

  Differential Revision: https://reviews.llvm.org/D119034

MFC after:	3 days
2022-02-07 19:39:02 +01:00
..
arm-optimized-routines Import Arm Optimized Routines v21.02 2021-07-06 11:05:34 +01:00
atf Import atf 0.22 snapshot 55c21b2c5fb189bbdfccb2b297bfa89236502542 2021-09-10 17:08:42 -06:00
bc vendor/bc: import release 5.2.2 2022-02-05 22:39:59 +01:00
bearssl
blacklist
bmake Merge bmake-20220204 2022-02-05 12:26:16 -08:00
bsddialog bsddialog: import version 0.1 2022-01-28 09:56:21 +01:00
bsnmp bsnmp: Fix two typos in error messages 2022-01-26 20:25:40 +01:00
byacc Revert "wpa: Import wpa 2.10." 2022-01-18 08:10:33 -08:00
bzip2 Remove FREEBSD-vendor files 2021-12-06 16:36:44 -05:00
capsicum-test
com_err
cortex-strings
dialog
diff
dma dma: use canonical getline() loop 2022-02-05 21:55:03 -05:00
ee
elftoolchain exec: Remove the stack gap implementation 2022-01-17 16:11:54 -05:00
expat MFV f83ac37f1e: libbsdxml (expat) 2.4.3. 2022-01-17 16:34:41 -08:00
file file: upgrade to 5.41. 2022-01-03 22:03:39 -08:00
flex
gdtoa
googletest
hyperv/tools
jemalloc
kyua
ldns
ldns-host
less less: upgrade to v590. 2021-07-17 22:20:44 -07:00
lib9p
libarchive libarchive: cherry-pick bugfix from vendor 2021-11-17 22:28:45 +01:00
libbegemot
libc-pwcache
libc-vis vis(3): avoid out-of-bounds stack buffer reads 2021-06-16 16:27:13 +01:00
libcbor Import libcbor at 'contrib/libcbor/' 2021-10-06 20:26:10 -04:00
libcxxrt
libdivsufsort
libedit libedit: import snapshot 2021-09-10 2021-09-22 10:19:43 +02:00
libevent
libexecinfo
libfido2 libfido2: Address CHERI compatibility 2021-10-06 21:40:26 -04:00
libpcap
libucl
libxo
llvm-project Apply fix for ThreadSanitizer false positive data race reports 2022-02-07 19:39:02 +01:00
lua
lutok
mandoc mandoc: import version 1.14.6 2021-11-15 16:58:58 +01:00
mknod
mtree
ncurses ncurses: Apply a tputs() fix from patch 20210403 2021-08-11 13:08:23 -04:00
netbsd-tests netbsd-tests: Fix the libc stat_socket test 2022-01-14 15:01:41 -05:00
netcat Remove FREEBSD-vendor files 2021-12-06 16:36:44 -05:00
ngatm
ntp ntp: Revert "Disable ntpd stack gap. When ASLR with STACK GAP != 0 ntpd suffers SIGSEGV." 2021-10-15 16:06:26 -07:00
nvi Allow building usr.bin/vi with MK_ASAN 2021-07-19 15:04:19 +01:00
ofed Make CPU_SET macros compliant with other implementations 2021-12-30 12:20:32 +01:00
one-true-awk Awk: Add error file 2021-11-06 16:24:36 -06:00
openbsm
opencsd/decoder
openpam
openresolv
opie
pam_modules/pam_passwdqc
pf ftp-proxy: Revert incorrect migration to libpfctl 2021-07-01 21:34:40 +02:00
pjdfstest
pnglite
pnpinfo
processor-trace
sendmail Update commit instructions. Still more TBD as I plan out the first 2022-01-30 22:20:12 +00:00
smbfs
sqlite3 sqlite3: Vendor import of sqlite3 3.37.2 2022-01-11 08:14:43 -08:00
tcp_wrappers tcp_wrappers: get rid of duplicate fgets declarations 2021-09-30 23:55:27 -05:00
tcpdump pf: Introduce ridentifier 2021-11-05 09:39:56 +01:00
tcsh
telnet telnet(1): add quiet mode ("telnet -Q") 2021-06-21 17:11:57 +01:00
terminus contrib/terminus: update to terminus-font-4.49.1 2022-02-02 15:42:18 +02:00
tnftp
traceroute
tzcode tzcode: fix tz change detection logic 2021-12-21 12:01:24 -06:00
tzdata contrib/tzdata: import tzdata 2021e 2021-10-22 13:20:20 +08:00
unbound unbound: Vendor import 1.14.0 2022-01-23 21:58:36 -08:00
unvis
vis Merge tag 'vendor/NetBSD/vis/20210621' into vis 2021-06-21 18:04:17 -06:00
wpa wpa: Import wpa 2.10. 2022-01-18 08:17:08 -08:00
xz