CVSROOT: /cvs Module name: src Changes by: m...@cvs.openbsd.org 2023/01/12 03:59:36
Modified files: sys/kern : uipc_syscalls.c Log message: Use solock() instead solock_shared() within sys_getsockopt(). Otherwise we acquiring kernel lock with mutex(9) held. This partially reverts rev 1.205 of sys/kern/uipc_syscalls.c. Shared solock() is still fine for getsockname(2) and getpeername(2). Reported-by: syzbot+00a4824cb1b6a214c...@syzkaller.appspotmail.com ok kn@ claudio@