]> git.ipfire.org Git - thirdparty/grub.git/commit
kern/dl: Print module name on license check failure
authorRobbie Harwood <rharwood@redhat.com>
Mon, 25 Oct 2021 22:17:03 +0000 (18:17 -0400)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 2 Nov 2021 15:13:34 +0000 (16:13 +0100)
commitc3f323b3f5038f742638628c2a46e2438aed4baa
treeab4815bfb1da3f415490526a8bfe019171e7c7e6
parent50aace6bdb918150ba47e3c16146dcca271c134a
kern/dl: Print module name on license check failure

Prior to this change, the GRUB would only indicate that the check had
been failed, but not by what module. This made it difficult to track
down either the problem module, or debug the false positive further.

Before performing the license check, resolve the module name so that
it can be printed if the license check fails.

Signed-off-by: Robbie Harwood <rharwood@redhat.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/kern/dl.c