Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp1168394rwb; Thu, 11 Aug 2022 17:39:02 -0700 (PDT) X-Google-Smtp-Source: AA6agR4YLiTATzgp5RUa+lLdG9+pHlFGV2nhM3s3LsbFMjexgzhNvhBHb8qz/ajVaEpKl8TyYmM4 X-Received: by 2002:a17:907:724d:b0:731:8022:94e9 with SMTP id ds13-20020a170907724d00b00731802294e9mr1035351ejc.172.1660264742205; Thu, 11 Aug 2022 17:39:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660264742; cv=none; d=google.com; s=arc-20160816; b=0o+94XYNDkaVC+Q12fSETCmJLzB91WKepY89KuJtF7xQTWH5O89JaxHkCob6sXb19F SxKSPIrtJ19ImsXVys5pTP5cZx/hzmQyZosTeN+bC7GurvgC8QIPGpHnD9tEO28B/Chl Qvk9xzzwcfefuE5XdumnGynB1lXRB00/GZvpT5rbW8sHnieQRMs6ZcWLmkfhGcFzgSB0 uRDKFhtFun0yrWCkGVytxlQRe4cHfK8iAUbdaTrO4v/Vf6T+5rXtc3m6rnurpp7cjcUc SErWKQTDk8+ERXAyI3InCBLvahfiNbCWaunh+xeRKsKwHh4PD0bKVTXVdIgoqP9Ivirf zDSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=VcBgOx72SrKAynvtEB4eJUbvGpRlwEh9BrnfUqJELdQ=; b=HKg7gLVaG3kSEyIMo6GpjGhGfm7Ozti/URp3jGbqMNUMQV9cLQtgYpGqzKLGJ5oxFT 8I0mNeNdOOao9Q1UJ3cSCX+ZdwCL5Y+e2uAvi6RMQCNXLylS3edYtBu/lcnjPaiKqqyJ Lh+F55lPz1XYCe0sFHCoq+j1jRYvCeakLi/BJbe0GN8vNHiB0Wv5dHxj6AdVm8KgI+UQ ebpZO5Uqc8vHDLOweOqJQpARtQ3bc2GtBn3390so1ZrK8XQhIvqNZUb7HsEYiBCTL9AK rHd4/PLatfbSIqO5hnlH7xoCFUkZ8SsslkyJWbbLX7DjTX/jSB/Ag+Nkpe718Zv6uke0 kLxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JVt7c5Oh; 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 n8-20020aa7c448000000b0043cdab5f1a4si718084edr.350.2022.08.11.17.38.36; Thu, 11 Aug 2022 17:39:02 -0700 (PDT) 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=JVt7c5Oh; 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 S235753AbiHLAUL (ORCPT + 99 others); Thu, 11 Aug 2022 20:20:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235639AbiHLAUJ (ORCPT ); Thu, 11 Aug 2022 20:20:09 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87B0BA0323 for ; Thu, 11 Aug 2022 17:20:07 -0700 (PDT) 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 13840615C7 for ; Fri, 12 Aug 2022 00:20:07 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6B70BC43470 for ; Fri, 12 Aug 2022 00:20:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660263606; bh=VcBgOx72SrKAynvtEB4eJUbvGpRlwEh9BrnfUqJELdQ=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=JVt7c5OhLl3xM/d0xvsJ6JkHeJ+ofDIKl0bbUM/iZw2kT9FBlI7jJaXP9FzIAHOdK R8dhrZLDj2xnJ4K3Qxefi9pcWOQcHshDEL38roInzSGML3hl6Iy3sjB1PJVTFtrcZo o4lWsXNxEczbFgEjMHupsHuQwZEWRNfaylXPp0kmrdbB/l4SdQ/n9e5+syBkt3JlTZ KaljiGJyUO+NBzI/b3V3DxM7LFSL4yB0LsO4ynJ+EcZ/JUz+is2BwtStDR6Ucw/lph HgTIVrVQcMcRJzRZ5KUQS/n2D8fQtD0Wgb/9yWslaAIcHFo/GQc/xtGOi50vYD/jDU +U1/ORcdRpk2w== Received: by mail-ot1-f54.google.com with SMTP id h9-20020a9d5549000000b0063727299bb4so2688990oti.9 for ; Thu, 11 Aug 2022 17:20:06 -0700 (PDT) X-Gm-Message-State: ACgBeo1eakuTgxKty+2Y7lvStYA66O5knrFxNvo86L1kismnnoXhlue8 qC3izUXMoUzGW/vSalZAlevL6gz0UXM3ygk1w6ZQ4g== X-Received: by 2002:a0d:d282:0:b0:329:74d3:b0da with SMTP id u124-20020a0dd282000000b0032974d3b0damr1809994ywd.340.1660263594446; Thu, 11 Aug 2022 17:19:54 -0700 (PDT) MIME-Version: 1.0 References: <20220810165932.2143413-1-roberto.sassu@huawei.com> <20220810165932.2143413-5-roberto.sassu@huawei.com> In-Reply-To: <20220810165932.2143413-5-roberto.sassu@huawei.com> From: KP Singh Date: Fri, 12 Aug 2022 02:19:43 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v10 4/9] KEYS: Move KEY_LOOKUP_ to include/linux/key.h To: Roberto Sassu Cc: ast@kernel.org, daniel@iogearbox.net, andrii@kernel.org, martin.lau@linux.dev, song@kernel.org, yhs@fb.com, john.fastabend@gmail.com, sdf@google.com, haoluo@google.com, jolsa@kernel.org, corbet@lwn.net, dhowells@redhat.com, jarkko@kernel.org, rostedt@goodmis.org, mingo@redhat.com, paul@paul-moore.com, jmorris@namei.org, serge@hallyn.com, shuah@kernel.org, bpf@vger.kernel.org, linux-doc@vger.kernel.org, keyrings@vger.kernel.org, linux-security-module@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.7 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,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-kernel@vger.kernel.org On Wed, Aug 10, 2022 at 6:59 PM Roberto Sassu wrote: > > In preparation for the patch that introduces the bpf_lookup_user_key() eBPF > kfunc, move KEY_LOOKUP_ definitions to include/linux/key.h, to be able to > validate the kfunc parameters. > > Signed-off-by: Roberto Sassu Reviewed-by: KP Singh