summaryrefslogtreecommitdiffstats
path: root/lib/libcrypto/asn1/a_enum.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2019-04-28 04:20:40 +0000
committerdlg <dlg@openbsd.org>2019-04-28 04:20:40 +0000
commit60aa962e73cae02e1e20bd0158dfeeaca6adff42 (patch)
treec18830273d8bd643957273e71f58fb9d7358166e /lib/libcrypto/asn1/a_enum.c
parentTweak; work in progress. (diff)
downloadwireguard-openbsd-60aa962e73cae02e1e20bd0158dfeeaca6adff42.tar.xz
wireguard-openbsd-60aa962e73cae02e1e20bd0158dfeeaca6adff42.zip
add WITNESS support to barriers modelled on the timeout stuff visa did.
if a taskq takes a lock, and something holding that lock calls taskq_barrier, there's a potential deadlock. detect this as a lock order problem when witness is enable. task_del conditionally followed by taskq_barrier is a common pattern, so add a taskq_del_barrier wrapper for it that unconditionally checks for the deadlock, like timeout_del_barrier. ok visa@
Diffstat (limited to 'lib/libcrypto/asn1/a_enum.c')
0 files changed, 0 insertions, 0 deletions