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 E4179C7EE33 for ; Thu, 2 Mar 2023 22:56:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230241AbjCBW4K (ORCPT ); Thu, 2 Mar 2023 17:56:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41754 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230138AbjCBW4I (ORCPT ); Thu, 2 Mar 2023 17:56:08 -0500 Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F92135260 for ; Thu, 2 Mar 2023 14:56:07 -0800 (PST) Received: by mail-pl1-x629.google.com with SMTP id v11so859982plz.8 for ; Thu, 02 Mar 2023 14:56:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1677797767; h=in-reply-to:content-disposition:mime-version:references:subject:cc :to:from:date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=fDa++rPUZHG1cADT97wEka7i9XpBCSMw+BsUJit3tM8=; b=apW6CO+GriA5ax10w+Ltl21EZyiCuiEkrosyVJE39MbM7iiqBxUYPqTnJSZJrvIQ5m AyBgf/dBZT8ggeDyaszfb5BRhMl3PsNMujEvWYmubxg2OsoEQS9fDcbnxUg4wG8mHx8b JSd7FVNrEyw/RGhiZ1WY6WaWHYqk9swiQFrcM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677797767; h=in-reply-to:content-disposition:mime-version:references:subject:cc :to:from:date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=fDa++rPUZHG1cADT97wEka7i9XpBCSMw+BsUJit3tM8=; b=oT2HdH9WfdlqdwiWl3romm7/+EhOp7dwTNreHxAWI61Ql56x/GiuSSW1HFTuXgVMtn jeYNOwgRW8dT2VA/HPlxnCoA39PI9xD+swflXhieWTnGPwy0CKXh1rCYb1Yxv4Qpj6gA lr39IMV4sg0kGK+SadI0G+NOCIqbph2/+XpgnmRBvellTukhxQamh/k9EX/6yLldDMki 0FV/btz9xIENX3HG9n38iJUNEdEdsa1s6Az9uy6z2Lg9Q+WxNnrxUbjUc6fF0L5j8yVp 3wNoYZu7DsMggikQyzNz83+thK1TeCfxbNkIXPu6vQ0oIvYC9XLxm1BDJlemjFeFjara 4fCg== X-Gm-Message-State: AO0yUKV7Hz91+WPYnDBvKhyo0NHW8Rn6bryWau/jqqvmzSmg+zncv+lp VEnOEEpEfef/Xbi0mAqJz0At9g== X-Google-Smtp-Source: AK7set+MEnLjHdrL/UF2pQiGl3CRsjFYnt0FAye8NGhtXVtdNjGBD457Drx+Q5YR8VVMf1FPUpgIMQ== X-Received: by 2002:a17:90b:4a8c:b0:237:b702:49c0 with SMTP id lp12-20020a17090b4a8c00b00237b70249c0mr12768587pjb.45.1677797766720; Thu, 02 Mar 2023 14:56:06 -0800 (PST) Received: from www.outflux.net (198-0-35-241-static.hfc.comcastbusiness.net. [198.0.35.241]) by smtp.gmail.com with ESMTPSA id x13-20020a17090a294d00b00234a2f6d9c0sm224637pjf.57.2023.03.02.14.56.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Mar 2023 14:56:06 -0800 (PST) Message-ID: <64012986.170a0220.67312.124e@mx.google.com> X-Google-Original-Message-ID: <202303021455.@keescook> Date: Thu, 2 Mar 2023 14:56:05 -0800 From: Kees Cook To: Luis Chamberlain Cc: ebiederm@xmission.com, yzaikin@google.com, john.johansen@canonical.com, paul@paul-moore.com, jmorris@namei.org, serge@hallyn.com, luto@amacapital.net, wad@chromium.org, dverkamp@chromium.org, paulmck@kernel.org, baihaowen@meizu.com, frederic@kernel.org, jeffxu@google.com, ebiggers@kernel.org, tytso@mit.edu, guoren@kernel.org, j.granados@samsung.com, zhangpeng362@huawei.com, tangmeng@uniontech.com, willy@infradead.org, nixiaoming@huawei.com, sujiaxun@uniontech.com, patches@lists.linux.dev, linux-fsdevel@vger.kernel.org, apparmor@lists.ubuntu.com, linux-security-module@vger.kernel.org, linux-csky@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 05/11] loadpin: simplify sysctls use with register_sysctl() References: <20230302202826.776286-1-mcgrof@kernel.org> <20230302202826.776286-6-mcgrof@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230302202826.776286-6-mcgrof@kernel.org> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 02, 2023 at 12:28:20PM -0800, Luis Chamberlain wrote: > register_sysctl_paths() is not required, we can just use > register_sysctl() with the required path specified. > > Signed-off-by: Luis Chamberlain Acked-by: Kees Cook -- Kees Cook