Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp14095480rwb; Sun, 27 Nov 2022 17:31:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf5DVkVj4hkvv828P4mf/TY8bR4iojxUWaqsW60wNmrRFAzQkX2QF2N3f6PX31JuXVFfKXDs X-Received: by 2002:a17:907:986c:b0:7a0:b505:e8f9 with SMTP id ko12-20020a170907986c00b007a0b505e8f9mr30001260ejc.216.1669599089737; Sun, 27 Nov 2022 17:31:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669599089; cv=none; d=google.com; s=arc-20160816; b=touwNMLasS3wd0/E+mX/yme1zKGFImuef90bXYgkI2Mv4fI52WE58FfvupcN7FdJYB T2GhjkUM4rP9I+oOha+hSlWwEvpZhbfifIm7NrH9DjiCVnewaKd7AleibeoOAenwZ09H 8BTB1qqT39ifs5fZoleQxvmlOuNJQDgnKY2vCjGssYn7gi5HbcAzAUZ1lC1Yc0NDkOLF 5Fq8b4vX4HLcnZiu3kQT1GQ/fZQ2k6PQZLmcN+CjF6nNM25bZXrGZ03+WgBBxzHv1H1D r9DwnBYc+QfMORv5cpDzmDYJyKTicKw3AsRqcPzF2ajV2mOiyfPsuYofnh7IXh/q8vPS NyAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=zYVNFyzR3ZhxNVgXNk8xgjAdgj0yumLEe+jdBy4bdz8=; b=nEtH8MIVMeZ2UFEb+1iNdpNGBIhSxGEke5mmwvPbRwq5APzBay87EIbNHdzM3XCE1+ yZjsRUj9X3+a3CoAt360NTIC5sSBEJTcM5V2MAbEg6dzVX6ltL05/U1u4Fl4Z1P/mUO2 3CCV5dpZaUeAsPGiI1occwBToiWn6m3SvpMosTBjnvneM1HSGcdKn4C5xc39Q2aif6EA mtX8KH6LvZehbuMF1Y4/ahC1ldTPvVSiLBZQz5kq75wuSBwVpuCm4TQLy1zL6a+qkKqy WuWvHn5Sq0MFU6W9HcRySIKWaktWPSRHiZfiBwuqAzPC5lVxuOUSrDZYyVoov/NacPRO EvQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="B/CsFMpQ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t21-20020a50d715000000b0046a09ce4d1csi7919069edi.349.2022.11.27.17.31.08; Sun, 27 Nov 2022 17:31:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="B/CsFMpQ"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229661AbiK1BMo (ORCPT + 84 others); Sun, 27 Nov 2022 20:12:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229633AbiK1BMm (ORCPT ); Sun, 27 Nov 2022 20:12:42 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2A5D42733; Sun, 27 Nov 2022 17:12:40 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id BC87960ED5; Mon, 28 Nov 2022 01:12:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB138C433B5; Mon, 28 Nov 2022 01:12:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669597959; bh=zYVNFyzR3ZhxNVgXNk8xgjAdgj0yumLEe+jdBy4bdz8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=B/CsFMpQJjQeXcX42ZV2Fz7ddjDSK8r4kDhNxBohLsMyjt0hIG1Pq1GRuBn7HE/Hq CUfJOLDXnGhYCGwHkxEkFr0Uehf6NiqpDacDwrdyYHeVD/TlbxX/S0jvQMfXjAz9iZ pPPZXA2+9d/tDP0x8tEr7K8kv4PNHlrJ25tPH+5Ne6ISh5uzc4OBYWc7xOjU5q9D0l v/Lx6STlnJ/PQnZayginiqEIEX+TKam9ZjNQoh7zoUi17RsF8/QXY2WJVvaXDoztGn 7Gs9wCC+7toHvx6IDGeEzpS7YCHlX1cmInuKlWj+mWWq6Jr9pT+tLrIDXy/nc+LEZ/ GJj8pj0dxAwmA== Date: Mon, 28 Nov 2022 03:12:34 +0200 From: Jarkko Sakkinen To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: =?iso-8859-1?Q?Micka=EBl_Sala=FCn?= , David Howells , David Woodhouse , Eric Snowberg , keyrings@vger.kernel.org, linux-kernel@vger.kernel.org, Mark Pearson , linux-integrity@vger.kernel.org, linux-security-module@vger.kernel.org Subject: Re: [PATCH v3 2/3] KEYS: Add key_create() Message-ID: References: <20221118040343.2958-1-linux@weissschuh.net> <20221118040343.2958-3-linux@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20221118040343.2958-3-linux@weissschuh.net> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 On Fri, Nov 18, 2022 at 05:03:42AM +0100, Thomas Wei?schuh wrote: > This function works like key_create_or_update() but does not allow > updating an existing key, instead returning -EEXIST. What is "this"?? > This new function will be used by the blacklist keyring to handle EEXIST Ditto. BR, Jarkko