Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2768480pxp; Tue, 22 Mar 2022 05:56:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCqRrq2dwbCmBwc0EAPhO5jgqSjIVYrl98Yj/CrHMbQ5CqQJZotad/Y5oxYL84FtgME5l4 X-Received: by 2002:a63:44f:0:b0:385:fa8a:1889 with SMTP id 76-20020a63044f000000b00385fa8a1889mr935481pge.160.1647953779874; Tue, 22 Mar 2022 05:56:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647953779; cv=none; d=google.com; s=arc-20160816; b=XbMe8t6KF8/VnFZ1C6efmImUKtdSMqAizo3sTWYTgDjDjSizVaeiRs26RE6aEi+uA4 EdMD08oal6YWwlJZ7JB1tMrKqRSLipSSX0IL/ukANuw9tUE0QgLYVmRqGSJ73CKHbXAd TGHDF13AnJQD2s0t74Xfl0jcKBtT1NIL+k96CQAU3WFH8d4QIXRo97d3mu1iCiI5z5BL T0ASKjs9Vk0NJ3fNVlOinDJGy/lR2WlTNHKbcxoinNtI4qFtFWor2V/7J0kcpD4MfEUk prV3bFQBxGI7l8wngf8+DDkc8fxx1JbVF51C4PelC9+DGGS35ucG+hfuIq5BDPDQNIrT gAaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=POTLpNaef7Re59h4T6QOwGwQiS9hdzCs2DkaovNYMFs=; b=CEkRGPtJ77rjbGTmmQztlHYGmLHSwleqrtFHhQFTrTyfvwJZ6c6UnXP8KSbIbW7mAi 1+X30GHNgioZ/IrU6wRyz87i237M6RvrCiWBBUiehJfL9ivYVpjk8hjYcVXGZMtweDVB 8GvvZS+lywDqQt98AXFB/IkBQI1gOxFRpi/5CIa+CD/nizLn5Fjl7o5BS+ibXTdF4gHG lmVhhq1Qsw3p4+noeZGEbtG/YHA/0+z6LABUEfbhg/VA8raWH3fDljDXMHcFWyHY8kpz 59YnGG6XeIBDI1g09P0Tbr+/+wTDKsV49gkDCYT/AlH5LoyPTL1WM96yf9liK8WoW8Pj anmg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h8-20020a170902ac8800b00153b2d165aasi14289767plr.434.2022.03.22.05.56.03; Tue, 22 Mar 2022 05:56:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232821AbiCVLNx (ORCPT + 99 others); Tue, 22 Mar 2022 07:13:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229484AbiCVLNw (ORCPT ); Tue, 22 Mar 2022 07:13:52 -0400 X-Greylist: delayed 1221 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 22 Mar 2022 04:12:24 PDT Received: from smtp-8fa9.mail.infomaniak.ch (smtp-8fa9.mail.infomaniak.ch [83.166.143.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 930AC814B2 for ; Tue, 22 Mar 2022 04:12:23 -0700 (PDT) Received: from smtp-3-0001.mail.infomaniak.ch (unknown [10.4.36.108]) by smtp-2-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4KN82t309nzMqKsG; Tue, 22 Mar 2022 12:12:22 +0100 (CET) Received: from localhost (unknown [23.97.221.149]) by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4KN82s6GyjzlhMCJ; Tue, 22 Mar 2022 12:12:21 +0100 (CET) From: =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= To: Jarkko Sakkinen Cc: =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= , David Howells , "David S . Miller" , David Woodhouse , Eric Snowberg , Paul Moore , Tyler Hicks , keyrings@vger.kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/1] Explain panic() calls for keyring initialization Date: Tue, 22 Mar 2022 12:13:22 +0100 Message-Id: <20220322111323.542184-1-mic@digikod.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org As suggested by Jarkko and explained by Paul, let's document the panic() calls from the blacklist keyring initialization. This series applies on top of commit 50c486fe3108 ("certs: Allow root user to append signed hashes to the blacklist keyring"). This can smoothly be rebased on top of Jarkko's next branch. This second version fixes some minor spelling issues. [1] https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git/commit/?id=50c486fe310890c134b5cb36cf9a4135475a6074 Previous version: https://lore.kernel.org/r/20220321174548.510516-1-mic@digikod.net Regards, Mickaël Salaün (1): certs: Explain the rationale to call panic() certs/blacklist.c | 9 +++++++++ 1 file changed, 9 insertions(+) base-commit: 50c486fe310890c134b5cb36cf9a4135475a6074 -- 2.35.1