diff options
author | Jason Gunthorpe <[email protected]> | 2019-04-16 14:07:25 +0300 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2019-04-24 13:06:24 -0300 |
commit | c660133c339f9ab684fdf568c0d51b9ae5e86002 (patch) | |
tree | 20fed69f72f0cfb9e5acc778c79c1d7a13c07d38 /scripts/bpf_helpers_doc.py | |
parent | 7249c8ea227a582c14f63e9e8853eb7369122f10 (diff) |
RDMA/mlx5: Do not allow the user to write to the clock page
The intent of this VMA was to be read-only from user space, but the
VM_MAYWRITE masking was missed, so mprotect could make it writable.
Cc: [email protected]
Fixes: 5c99eaecb1fc ("IB/mlx5: Mmap the HCA's clock info to user-space")
Signed-off-by: Jason Gunthorpe <[email protected]>
Reviewed-by: Haggai Eran <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions