[Bug 249403] Abstract priv_check() for wireless operations
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Sep 17 18:36:52 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=249403
Bug ID: 249403
Summary: Abstract priv_check() for wireless operations
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: wireless
Assignee: wireless at FreeBSD.org
Reporter: martin at NetBSD.org
Created attachment 218030
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=218030&action=edit
abstract priv_check() for iee80211 and add more arguments to allow a NetBSD
kauth based implementation
The kernel authorization system in NetBSD is (optionally) quite fine grained
and needs a bit more data to take decisions. This creates an ifdef mess in my
adaption of the FreeBSD wifi stack, but it could be easily avoided with a minor
change similar to the attached patch.
The definitions for the macro should move to the OS specific header (so only
the FreeBSD definition in ieee80211_freebsd.h), I left them all together so the
reason for the change is more obvious.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-wireless
mailing list