1. 14 5月, 2016 1 次提交
    • M
      IB/mlx5: Allow mapping the free running counter on PROT_EXEC · 6cbac1e4
      Matan Barak 提交于
      The current mlx5 code disallows mapping the free running counter of
      mlx5 based hardwares when PROT_EXEC is set.
      Although this behaviour is correct, Linux does add an implicit VM_EXEC
      to the vm_flags if the READ_IMPLIES_EXEC bit is set in the process
      personality. This happens for example if the process stack is
      executable.
      
      This causes libmlx5 to output a warning and prevents the user from
      reading the free running clock.
      Executing the init segment of the hardware isn't a security risk
      (at least no more than executing a process own stack), so we just
      prevent writes to there.
      
      Fixes: d69e3bcf ('IB/mlx5: Mmap the HCA's core clock register to
      		      user-space')
      Signed-off-by: NMatan Barak <matanb@mellanox.com>
      Reviewed-by: NHaggai Eran <haggaie@mellanox.com>
      Signed-off-by: NDoug Ledford <dledford@redhat.com>
      6cbac1e4
  2. 28 4月, 2016 1 次提交
  3. 25 4月, 2016 1 次提交
  4. 22 3月, 2016 2 次提交
  5. 10 3月, 2016 1 次提交
  6. 05 3月, 2016 3 次提交
  7. 02 3月, 2016 4 次提交
  8. 01 3月, 2016 1 次提交
  9. 25 2月, 2016 1 次提交
  10. 03 2月, 2016 2 次提交
  11. 22 1月, 2016 3 次提交
  12. 20 1月, 2016 3 次提交
  13. 12 1月, 2016 1 次提交
  14. 24 12月, 2015 12 次提交
  15. 29 10月, 2015 2 次提交
  16. 15 10月, 2015 1 次提交
  17. 25 9月, 2015 1 次提交