Date: Thu, 15 Aug 2019 08:21:11 +0000 From: bugzilla-noreply@freebsd.org To: testing@freebsd.org Subject: [Bug 238781] sys.netinet.socket_afinet.socket_afinet_bind_zero does not work when mac_portacl(4) loaded Message-ID: <bug-238781-32464-5k3YGiXDZX@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-238781-32464@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238781 --- Comment #5 from Robert Watson <rwatson@FreeBSD.org> --- Am I right in assuming that even when sin_family is set to 0, the sockaddr is always interpreted as a sockaddr_in for PF_INET sockets? If so, then, given that we check for PF_INET earlier in mac_portacl's socket_check_bind() function, we can probably safely allow 0 as well as AF_INET and AF_INET6. -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238781-32464-5k3YGiXDZX>
