OpenBSD/src sBri5hT — sys/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
Version | Delta | File | |
---|---|---|---|
1.42 | +2 | -2 | sys/dev/wscons/wsmux.c |
+2 | -2 | 1 files |