]> 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)
commit40c8bbd68a7345c75af7347df6cd1ba13ad9224e
tree2048512d9bb34de0dbb599992c4fbb8a9aee09e8
parente6904116d7a128188d8b5bc52ee02dce29b2acba
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