Messages in this thread | | | From | Linus Torvalds <> | Date | Wed, 15 Aug 2018 11:22:12 -0700 | Subject | Re: [PATCH] Fix kexec forbidding kernels signed with custom platform keys to boot |
| |
On Wed, Aug 15, 2018 at 11:19 AM Yannik Sembritzki <yannik@sembritzki.me> wrote: > > > No, I meant that it would have to go into the proper header files, and > > also be used by verify_pkcs7_signature() and pkcs7_preparse() etc, so > > that you could actually grep for this, and understand what it does. > Thanks, Linus, I'll take care of this right away. > > This is my first patch and I'm not familiar with the kernel; can you > give me a quick hint which header file(s) would be the right place for > this #define?
I think
include/linux/verification.h
is the right point, it's where verify_pkcs7_signature() is declared too (and "struct key" is forward-declared), so it would seem to make most sense there.
Linus
| |