[Bug 249403] Abstract priv_check() for wireless operations

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 17 18:44:38 UTC 2020


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

Adrian Chadd <adrian at freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adrian at freebsd.org

--- Comment #1 from Adrian Chadd <adrian at freebsd.org> ---
Hi!

I think we should put the priv checks in as a method in ieee80211_freebsd.c, so
your ieee80211_netbsd.c can implement it as well. (same with the dfbsd and
haiku users when they update.)

What do you think instead of creating some stub priv check functions rather
than using system defines, and we'll then have to define them in our
ieee80211_{os}.c file?

Thanks! We're also super open to adding whatever else makes portability easier,
so if you find freebsd specific things that you're #ifdef'ing do let us know
and let's figure out a better way to abstract it.

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


More information about the freebsd-wireless mailing list