Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp2268921pxp; Mon, 21 Mar 2022 15:26:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw8ovB4XxabtH23vOrMipwpqj81Ji8mD+5+5KVOURRAkaNFLWNfPu7orExk00u74VX482pW X-Received: by 2002:aa7:88d2:0:b0:4f7:78d4:de98 with SMTP id k18-20020aa788d2000000b004f778d4de98mr25533681pff.25.1647901598360; Mon, 21 Mar 2022 15:26:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647901598; cv=none; d=google.com; s=arc-20160816; b=jI+vzAsmXFF7JgBAZsC/F5w0BJVn62XO/2ywLlRcUf8Fsk7BJu3pc+B65ao4A+8GYq hSEaCicKBJTfhXfmTJyohfVWdufqWghMoBD3wKHMxUkl/DPxtsXCMrozTaIStNr90Q1D dOTpmzNoyOtwax7ssTYumYk5OELbnS3aLe7Z2jsjRvvaY6LNd17zuGpKMcXD2epRI4Mj 5SJ7JA5Gufgmm/yuIQC7fYge2uw78A60Nwvxv1uRYSOPuCKuj1WvNSfHL8V7/64iK5qL BcDk92T9aI7JdlaKKc4XGhdADRMcl1leEcAuBfcsAiWRYT1Y9OcijK28b2pAWgAOWWta I1zQ== 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=Jb5bO6vyWB+/SLpKO2BKeQMIZKQJdLENWxq2WCrF4vg=; b=I+tuj0aoD8FTCKN6F2H2es5ge9Z5p76bGvmMRrbzOj4W2idi8Jxwaf8k/M8oNYBgFU QgQOCfVzIOUciNr5vhNq0Vh9YF/6irlnnd95cZDvHpONycL9DKyXFa9ttuiHEhvEhBn3 Dq4xTdBsspI8QgJi2rMaSjdCfl/SBRtwMoJ1diWgTTNIw4OkQM0uodDhM7vmOixreh2b gZ2BfH88/RxUKfQWZFQh7wB/UVtZ7vW8whkqB2+1pC/2IHJN2M+cKeGBm9uzDWIHizZ1 7Mwwcf7z72sa2sbU7MyuBoMSW47qLeFdOr1xqRFBJbNmROscS4mq/L0ZbaaKZOJ1ns2s ZGGQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id g5-20020a17090a67c500b001bd14e01f88si475955pjm.118.2022.03.21.15.26.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 21 Mar 2022 15:26:38 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id EF249396337; Mon, 21 Mar 2022 14:40:03 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1350247AbiCURqh (ORCPT + 99 others); Mon, 21 Mar 2022 13:46:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48600 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238056AbiCURqe (ORCPT ); Mon, 21 Mar 2022 13:46:34 -0400 Received: from smtp-bc0f.mail.infomaniak.ch (smtp-bc0f.mail.infomaniak.ch [45.157.188.15]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 01C9F3B039 for ; Mon, 21 Mar 2022 10:45:07 -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 4KMhpV2Q0WzMptYB; Mon, 21 Mar 2022 18:45:06 +0100 (CET) Received: from localhost (unknown [23.97.221.149]) by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4KMhpT4slkzlhMBQ; Mon, 21 Mar 2022 18:45:05 +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 , keyrings@vger.kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 0/1] Explain panic() calls for keyring initialization Date: Mon, 21 Mar 2022 18:45:47 +0100 Message-Id: <20220321174548.510516-1-mic@digikod.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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-kernel@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. [1] https://git.kernel.org/pub/scm/linux/kernel/git/jarkko/linux-tpmdd.git/commit/?id=50c486fe310890c134b5cb36cf9a4135475a6074 Regards, Mickaël Salaün (1): certs: Explain the rational to call panic() certs/blacklist.c | 8 ++++++++ 1 file changed, 8 insertions(+) base-commit: 50c486fe310890c134b5cb36cf9a4135475a6074 -- 2.35.1