freebsd-dev/sys/dev/ixl
Eric Joyner ab43ce7a22 ixl: prevent non-privileged access to NVM update interface
Add a privilege check to the ixl_handle_nvmupd_cmd function, ensuring
that only privileged users are allowed to access the NVM update
interface.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>

Submitted by:	Jacob Keller <jacob.e.keller@intel.com>
Reported by:	markj@
Reviewed by:	markj@, erj@, jeffrey.e.pieper@intel.com
MFC after:	3 days
Sponsored by:	Intel Corporation
Differential Revision:	https://reviews.freebsd.org/D22870
2020-01-02 23:24:57 +00:00
..
i40e_adminq_cmd.h
i40e_adminq.c
i40e_adminq.h
i40e_alloc.h
i40e_common.c Add the missing braces to fix the code not guarded by the if clause and has 2019-05-30 20:42:36 +00:00
i40e_dcb.c
i40e_dcb.h
i40e_devids.h
i40e_hmc.c
i40e_hmc.h
i40e_lan_hmc.c
i40e_lan_hmc.h
i40e_nvm.c
i40e_osdep.c ixl/iavf(4): Change ixlv to iavf and update it to use iflib(9) 2018-10-12 22:40:54 +00:00
i40e_osdep.h
i40e_prototype.h
i40e_register.h
i40e_status.h
i40e_type.h
iavf_vc.c ixl/iavf(4): Update remaining references of "num_queues" to "num_rx_queues" 2018-11-01 17:29:14 +00:00
iavf.h iavf(4): Finish rename/rebrand internally 2018-10-15 17:23:41 +00:00
if_iavf.c Convert if_foreach_llmaddr() KPI. 2019-10-14 20:21:02 +00:00
if_ixl.c ixl: prevent non-privileged access to NVM update interface 2020-01-02 23:24:57 +00:00
ixl_debug.h iavf(4): Finish rename/rebrand internally 2018-10-15 17:23:41 +00:00
ixl_iw_int.h
ixl_iw.c - Stop iflib(4) from leaking MSI messages on detachment by calling 2019-01-30 13:21:26 +00:00
ixl_iw.h
ixl_pf_i2c.c
ixl_pf_iov.c iavf(4): Finish rename/rebrand internally 2018-10-15 17:23:41 +00:00
ixl_pf_iov.h ixl/iavf(4): Change ixlv to iavf and update it to use iflib(9) 2018-10-12 22:40:54 +00:00
ixl_pf_main.c Fix compile error introduced in r353658 2019-10-16 18:12:22 +00:00
ixl_pf_qmgr.c ixl/iavf(4): Change ixlv to iavf and update it to use iflib(9) 2018-10-12 22:40:54 +00:00
ixl_pf_qmgr.h ixl/iavf(4): Change ixlv to iavf and update it to use iflib(9) 2018-10-12 22:40:54 +00:00
ixl_pf.h ixl: Fix panic caused by bug exposed by r344062 2019-02-14 18:02:37 +00:00
ixl_txrx.c intel iflib drivers: correct initialization of tx_cidx_processed 2019-01-24 01:03:00 +00:00
ixl.h ixl: prevent non-privileged access to NVM update interface 2020-01-02 23:24:57 +00:00
virtchnl.h