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

2019-11-14 Thread Michael Ellerman
On Thu, 2019-10-31 at 03:31:31 UTC, Mimi Zohar wrote: > From: Nayna Jain > > 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 retur

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

2019-10-30 Thread Mimi Zohar
From: Nayna Jain 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