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: wirel...@freebsd.org Reporter: mar...@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. _______________________________________________ freebsd-wireless@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-wireless To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"