summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@mellanox.com>2018-09-20 21:45:21 +0300
committerJason Gunthorpe <jgg@mellanox.com>2018-09-27 22:01:33 +0300
commit3df6e0234aebc55888069997239fe2847d4cf152 (patch)
tree37562fb5fa578afa25fe922594035f47fa64bc5d /tools/perf/scripts/python/export-to-sqlite.py
parent7e1335a736969a8b5169629e6569779d42fcda2f (diff)
downloadlinux-3df6e0234aebc55888069997239fe2847d4cf152.tar.xz
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions