/[base]
ViewVC logotype

Revision 366817


Jump to revision: Previous Next
Author: bz
Date: Sun Oct 18 21:34:04 2020 UTC (3 years, 8 months ago)
Changed paths: 3
Log Message:
net80211: factor out the priv(9) checks into OS specifc code.

Factor out the priv(9) checks into OS specifc code so other OSes can equally
implement them.  This sorts out those XXX in the net80211 code.
We provide 3 arguments (cmd, vap, ifp) where available to the functions, in
order to allow other OSes to use that data but also in case we'd add auditing
to these check to have the information available. For now the arguments are
marked __unused.

PR:		249403
Reported by:	martin(NetBSD)
Reviewed by:	adrian, martin(NetBSD)
MFC after:	10 days
Sponsored by:	Rubicon Communications, LLC (d/b/a "Netgate")
Differential Revision:	https://reviews.freebsd.org/D26541


Changed paths

Path Details
Directoryhead/sys/net80211/ieee80211_freebsd.c modified , text changed
Directoryhead/sys/net80211/ieee80211_freebsd.h modified , text changed
Directoryhead/sys/net80211/ieee80211_ioctl.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27