]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Enable DEVX white list commands
authorYishai Hadas <yishaih@mellanox.com>
Thu, 20 Sep 2018 18:45:20 +0000 (21:45 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 27 Sep 2018 19:01:33 +0000 (13:01 -0600)
commit9e876a0d15ac962b02986bbf2d577659a814adc2
tree2048512d9bb34de0dbb599992c4fbb8a9aee09e8
parentcd773f67345d6f51702e339849b4628e9c7daf94
IB/mlx5: Enable DEVX white list commands

Enable DEVX white list commands without the need for CAP_NET_RAW.

DEVX uid must exist from the ucontext or the device so that the firmware
will mask unprivileged capabilities.

Signed-off-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/devx.c