OpenBSD/src sBri5hTsys/dev/wscons wsmux.c

   When adding a wsmux device to an existing wsmux device using
   ioctl(WSMUXIO_ADD_DEVICE), two distinct locks of the same type are
   acquired. Thus, witness will emit warning. Since acquiring two different
   locks of the same type is harmless in this context, relax the witness
   check by flagging the locks as RWL_DUPOK.

   ok visa@

   Reported-by: syzbot+249e483406a1f7843915 at syzkaller.appspotmail.com
VersionDeltaFile
1.42+2-2sys/dev/wscons/wsmux.c
+2-21 files

UnifiedSplitRaw