aboutsummaryrefslogtreecommitdiff
path: root/tools/include/linux/overflow.h
diff options
context:
space:
mode:
authorDan Williams <[email protected]>2021-09-03 19:20:45 -0700
committerDan Williams <[email protected]>2021-09-07 11:39:01 -0700
commit9e56614c44b994b78fc9fcb2070bcbe3f5df0d7b (patch)
treea9cd3db007560abf6418adebc6e8f540c5ecddee /tools/include/linux/overflow.h
parenta7bfaad54b8b9cf06041528988d6b75b4b921546 (diff)
cxl/pci: Fix lockdown level
A proposed rework of security_locked_down() users identified that the cxl_pci driver was passing the wrong lockdown_reason. Update cxl_mem_raw_command_allowed() to fail raw command access when raw pci access is also disabled. Fixes: 13237183c735 ("cxl/mem: Add a "RAW" send command") Cc: Ben Widawsky <[email protected]> Cc: Jonathan Cameron <[email protected]> Cc: <[email protected]> Cc: Ondrej Mosnacek <[email protected]> Cc: Paul Moore <[email protected]> Link: https://lore.kernel.org/r/163072204525.2250120.16615792476976546735.stgit@dwillia2-desk3.amr.corp.intel.com Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/include/linux/overflow.h')
0 files changed, 0 insertions, 0 deletions