summaryrefslogtreecommitdiff
path: root/sys/net/if.c
diff options
context:
space:
mode:
authorVitaliy Makkoveev <mvs@cvs.openbsd.org>2024-03-31 14:01:29 +0000
committerVitaliy Makkoveev <mvs@cvs.openbsd.org>2024-03-31 14:01:29 +0000
commit36216e9a9641b39c6716095e1f00c9f523b6c959 (patch)
treebae5d20fecd7b10dd395b9f367bcb0c4d510bf84 /sys/net/if.c
parent85ba99673a1a61f19fe34c8d73f813e102afc5d1 (diff)
Allow listen(2) only on sockets of type SOCK_STREAM or SOCK_SEQPACKET.
listen(2) man(1) page clearly prohibits sockets of other types. Reported-by: syzbot+00450333592fcd38c6fe@syzkaller.appspotmail.com ok bluhm
Diffstat (limited to 'sys/net/if.c')
0 files changed, 0 insertions, 0 deletions