Date: Thu, 17 Sep 2020 18:36:52 +0000 From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [Bug 249403] Abstract priv_check() for wireless operations Message-ID: <bug-249403-21060@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
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@FreeBSD.org Reporter: martin@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.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-249403-21060>
