On Thu, 2019-10-31 at 03:31:31 UTC, Mimi Zohar wrote: > From: Nayna Jain <nayna@xxxxxxxxxxxxx> > > 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@xxxxxxxxxxxxx> > Cc: David Howells <dhowells@xxxxxxxxxx> > Reviewed-by: Mimi Zohar <zohar@xxxxxxxxxxxxx> Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/2434f7d2d488c3301ae81f1031e1c66c6f076fb7 cheers