aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorLeon Romanovsky <[email protected]>2018-12-24 11:05:16 +0200
committerJason Gunthorpe <[email protected]>2019-01-07 13:35:57 -0700
commita9666c1cae8dbcd1a9aacd08a778bf2a28eea300 (patch)
treeb79068020a4df3cc0d8139e020bd2e92c40a0c1e /tools/perf/scripts/python/export-to-sqlite.py
parentf687ccea10d23a9b0faed67ceac535b76604669a (diff)
RDMA/nldev: Don't expose unsafe global rkey to regular user
Unsafe global rkey is considered dangerous because it exposes memory registered for all memory in the system. Only users with a QP on the same PD can use the rkey, and generally those QPs will already know the value. However, out of caution, do not expose the value to unprivleged users on the local system. Require CAP_NET_ADMIN instead. Cc: <[email protected]> # 4.16 Fixes: 29cf1351d450 ("RDMA/nldev: provide detailed PD information") Signed-off-by: Leon Romanovsky <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions