[PATCH v2] binfmt_flat: do not stop relocating GOT entries prematurely on riscv

Konstantin Ryabitsev konstantin at linuxfoundation.org
Thu Apr 14 18:26:10 PDT 2022


On Thu, Apr 14, 2022 at 04:27:38PM -0700, Kees Cook wrote:
> On Thu, Apr 14, 2022 at 11:10:18AM +0200, Niklas Cassel wrote:
> > bFLT binaries are usually created using elf2flt.
> > [...]
> 
> Hm, something in the chain broke DKIM, but I can't see what:
> 
>   ✗ [PATCH v2] binfmt_flat: do not stop relocating GOT entries prematurely on riscv
>     ✗ BADSIG: DKIM/wdc.com
> 
> Konstantin, do you have a process for debugging these? I don't see the
> "normal" stuff that breaks DKIM (i.e. a trailing mailing list footer, etc)

It's our usual friend "c=simple/simple" -- vger just doesn't work with that.
See here for reasons:

https://lore.kernel.org/lkml/20211214150032.nioelgvmase7yyus@meerkat.local/

You should try to convince wdc.com mail admins to set it to c=relaxed/simple,
or you can cc all your patches to patches at lists.linux.dev (which does work
with c=simple/simple), and then b4 will give those priority treatment.

-K



More information about the linux-riscv mailing list