[PATCH v10 6/9] certs: add wrapper function to check blacklisted binary hash

Michael Ellerman patch-notifications at ellerman.id.au
Thu Nov 14 20:08:07 AEDT 2019


On Thu, 2019-10-31 at 03:31:31 UTC, Mimi Zohar wrote:
> From: Nayna Jain <nayna at linux.ibm.com>
> 
> 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 at linux.ibm.com>
> Cc: David Howells <dhowells at redhat.com>
> Reviewed-by: Mimi Zohar <zohar at linux.ibm.com>

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/2434f7d2d488c3301ae81f1031e1c66c6f076fb7

cheers


More information about the Linuxppc-dev mailing list