[Bug 238781] sys.netinet.socket_afinet.socket_afinet_bind_zero does not work when mac_portacl(4) loaded

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 12 19:31:08 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238781

--- Comment #2 from Robert Watson <rwatson at FreeBSD.org> ---
The (sin_family == 0) thing is unfortunate, but presumably baked in for
decades. Does Linux also allow that behavior? If so, I suspect we're pretty
stuck with it, and should teach mac_portacl(4) that '0' means AF_INET. If not
.. maybe it is still possible to change.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-testing mailing list