mirror of
https://github.com/torvalds/linux.git
synced 2024-11-21 19:41:42 +00:00
2434f7d2d4
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 <nayna@linux.ibm.com> Reviewed-by: Mimi Zohar <zohar@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/1572492694-6520-7-git-send-email-zohar@linux.ibm.com |
||
---|---|---|
.. | ||
asymmetric-parser.h | ||
asymmetric-subtype.h | ||
asymmetric-type.h | ||
big_key-type.h | ||
ceph-type.h | ||
dns_resolver-type.h | ||
encrypted-type.h | ||
keyring-type.h | ||
request_key_auth-type.h | ||
rxrpc-type.h | ||
system_keyring.h | ||
trusted-type.h | ||
trusted.h | ||
user-type.h |