From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 323FCC433FE for ; Sat, 16 Apr 2022 00:14:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229571AbiDPARE (ORCPT ); Fri, 15 Apr 2022 20:17:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231817AbiDPAQr (ORCPT ); Fri, 15 Apr 2022 20:16:47 -0400 Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 95C4965426 for ; Fri, 15 Apr 2022 17:14:06 -0700 (PDT) Received: by mail-pj1-x102b.google.com with SMTP id md4so8663433pjb.4 for ; Fri, 15 Apr 2022 17:14:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=YDAMdut8vUmhZEo+u+sVvhEH17aBkfLLoPALv7vOiPs=; b=BgeBgGT1ait8U0/BHza0JXV85o7bBnhJL0TpF5JPsWvJIk05pGpM+tuDB4PT5hDL6U gGCnn6n4F/KUAc06HGiLMZIyQZoAHOduREeyYRRUbhH7l39CDRwwwfNU7wjaCXS7p8j4 z/n4rBrtg3sNGZ2pSZkfIaSCmg7HpVr/GXgiY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=YDAMdut8vUmhZEo+u+sVvhEH17aBkfLLoPALv7vOiPs=; b=d1mX0R8q3zBTARs9GF1NIbaeFIpWth1knWy+faypOH8duXf0+csy0xrYCCNAJecuDB G7i0yJDUUmFoB79WUHG9vG38WNCoP1LgBOsk2rEwgiu1EoWmx8QoFxF2sMWTRGcztLQR tB75YcXibMOyzENLuROvKfjB/0ZwuzFeqvXIdGxS+XaiEOXCkLWnGh6tzzPMCwfoR0HK j/DVhl+uC0/h2pug2lPS8+e58QPDaSeY+zH3HOi29YvElPQM9ueuGIGk1ZLSxsLCeBum 3r67GKyvNXW82uGT+VqZ7AKLdYgmGAQD/2LsMllfjrQJ8gWPYaFhLDZfcBv9u392Q5u6 9d6w== X-Gm-Message-State: AOAM5325YirXPaO53pio5yh737azMTN9Ia+y6XdLBTnNxqg0KDT+H1Il UCTLFHUN0ojVttAJ+u5DiGcZdQ== X-Google-Smtp-Source: ABdhPJz7gG8OaArrj60bX3xNsZIOTnb5QGee+Uj57upaqwTu6tD+kh6NB8aVzTsd5Pn3smREnpnwHw== X-Received: by 2002:a17:902:6acb:b0:158:8923:86df with SMTP id i11-20020a1709026acb00b00158892386dfmr1444104plt.144.1650068045861; Fri, 15 Apr 2022 17:14:05 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id t38-20020a634626000000b0039cc30b7c93sm5242501pga.82.2022.04.15.17.14.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Apr 2022 17:14:05 -0700 (PDT) Date: Fri, 15 Apr 2022 17:14:04 -0700 From: Kees Cook To: Konstantin Ryabitsev Cc: Niklas Cassel , Alexander Viro , Eric Biederman , Paul Walmsley , Palmer Dabbelt , Albert Ou , Greg Ungerer , Mike Frysinger , Damien Le Moal , stable@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-riscv@lists.infradead.org Subject: Re: [PATCH v2] binfmt_flat: do not stop relocating GOT entries prematurely on riscv Message-ID: <202204151713.4EB07DECC@keescook> References: <20220414091018.896737-1-niklas.cassel@wdc.com> <202204141624.6689D6B@keescook> <20220415012610.f2uph3vpwehyc27u@meerkat.local> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220415012610.f2uph3vpwehyc27u@meerkat.local> Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org On Thu, Apr 14, 2022 at 09:26:10PM -0400, Konstantin Ryabitsev wrote: > 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@lists.linux.dev (which does work > with c=simple/simple), and then b4 will give those priority treatment. Ah-ha! Thank you! :) -- Kees Cook