summaryrefslogtreecommitdiff
path: root/lib/utils
diff options
context:
space:
mode:
authorMayuresh Chitale <[email protected]>2023-09-07 17:19:41 +0530
committerAnup Patel <[email protected]>2023-09-24 16:27:02 +0530
commitb8fb96eceba546de7f36afd56a76a1e36fabcc77 (patch)
tree764de960481a19be7f9dee3216da0edd17178bff /lib/utils
parent9560fb38febf6e74d30a2c22e020b0e0dece8d49 (diff)
include: sbi_domain: Fix permission test macros
The macros to test permissions must perform an exact match of all the bits in the input with the desired permission bits. Otherwise, the check returns false positives in those cases where only some of the desired permissions are set in the input. Fixes: 6c202c5 ("include: sbi: Add Smepmp specific access flags for PMP entries") Signed-off-by: Mayuresh Chitale <[email protected]> Reviewed-by: Anup Patel <[email protected]>
Diffstat (limited to 'lib/utils')
0 files changed, 0 insertions, 0 deletions