Up to [cvs.NetBSD.org] / src / sys / kern
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: chs-ubc2
Revision 1.44.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:24:05 1999 UTC (24 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.44: +84 -74
lines
Diff to previous 1.44 (colored) next main 1.45 (colored)
Sync w/ -current.
Revision 1.44 / (download) - annotate - [select for diffs], Tue Mar 23 10:45:37 1999 UTC (25 years ago) by lukem
Branch: MAIN
CVS Tags: netbsd-1-4-base,
netbsd-1-4-RELEASE
Branch point for: netbsd-1-4,
kame,
chs-ubc2
Changes since 1.43: +3 -1
lines
Diff to previous 1.43 (colored)
Ensure that you can only bind a more specific address when it is done by the same uid or by root. This code is from FreeBSD. (Whilst it was originally obtained from OpenBSD, FreeBSD fixed it to work with multicast. To quote the commit message: - Don't bother checking for conflicting sockets if we're binding to a multicast address. - Don't return an error if we're binding to INADDR_ANY, the conflicting socket is bound to INADDR_ANY, and the conflicting socket has SO_REUSEPORT set. )