freebsd-src
freebsd-src copied to clipboard
mac_portacl: do not reject unspecific family directly.
It could fix the following bug:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238781
I also add tests for it (based on existing tests).
I tagged this with 'needs-review' since I want all pull requests to have some tag. I only mean that lwhsu should review it since he grabbed it by this. I also added it as a second reason not to automatically land it (I'm working on some better github PR landing automation).
we'll add a sysctl for this per discussion with @emaste .
After more thought I think this is fine w/o a sysctl