diff options
author | Nayna Jain <[email protected]> | 2019-10-30 23:31:31 -0400 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2019-11-12 12:25:50 +1100 |
commit | 2434f7d2d488c3301ae81f1031e1c66c6f076fb7 (patch) | |
tree | aa7a3fe1afeffd5f6c08cb78228a82d1da56e018 /security/integrity/ima/ima_appraise.c | |
parent | e14555e3d0e9edfad0a6840c0152f71aba97e793 (diff) |
certs: Add wrapper function to check blacklisted binary hash
The -EKEYREJECTED error returned by existing is_hash_blacklisted() is
misleading when called for checking against blacklisted hash of a
binary.
This patch adds a wrapper function is_binary_blacklisted() to return
-EPERM error if binary is blacklisted.
Signed-off-by: Nayna Jain <[email protected]>
Reviewed-by: Mimi Zohar <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'security/integrity/ima/ima_appraise.c')
0 files changed, 0 insertions, 0 deletions