linux_dsm_epyc7002/drivers/infiniband/hw
Yishai Hadas 3df6e0234a IB/mlx5: Enable DEVX on IB
IB has additional protections with SELinux that cannot be extended to the
DEVX domain. SELinux can restrict access to pkeys. The first version of
DEVX blocked IB entirely until this could be understood.

Since DEVX requires CAP_NET_RAW, it supersedes the SELinux restriction and
allows userspace to form arbitrary packets with arbitrary pkeys.

Thus we enable IB for DEVX when CAP_NET_RAW is given.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-09-27 13:01:33 -06:00
..
bnxt_re RDMA: Fully setup the device name in ib_register_device 2018-09-26 13:51:36 -06:00
cxgb3 RDMA: Fully setup the device name in ib_register_device 2018-09-26 13:51:36 -06:00
cxgb4 RDMA: Fully setup the device name in ib_register_device 2018-09-26 13:51:36 -06:00
hfi1 IB/hfi1: Move UnsupportedVL bits definitions to the correct header 2018-09-26 16:35:48 -06:00
hns RDMA/hns: fix spelling mistake "reseved" -> "reserved" 2018-09-27 12:25:15 -06:00
i40iw RDMA: Fully setup the device name in ib_register_device 2018-09-26 13:51:36 -06:00
mlx4 RDMA: Fully setup the device name in ib_register_device 2018-09-26 13:51:36 -06:00
mlx5 IB/mlx5: Enable DEVX on IB 2018-09-27 13:01:33 -06:00
mthca IB/mthca: remove redundant inner check of mdev->mthca_flags 2018-09-26 16:34:11 -06:00
nes RDMA/drivers: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
ocrdma RDMA/drivers: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
qedr RDMA/drivers: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
qib IB/{hfi1, qib, rdmavt}: Schedule multi RC/UC packets instead of posting 2018-09-11 09:55:02 -06:00
usnic RDMA/drivers: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
vmw_pvrdma RDMA/drivers: Use dev_name instead of ibdev->name 2018-09-26 13:51:48 -06:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00