Received: by 2002:a05:7412:b10a:b0:f3:1519:9f41 with SMTP id az10csp3017793rdb; Mon, 4 Dec 2023 14:17:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IGsdAiRqCONs1sNdQN7+AGXXrQ34Nucy/QUC83Di2ARerBA2MExJZKXAAZYVzrRGd5zDGbc X-Received: by 2002:a05:6a20:1455:b0:18c:a8fe:42f3 with SMTP id a21-20020a056a20145500b0018ca8fe42f3mr2697275pzi.19.1701728253037; Mon, 04 Dec 2023 14:17:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701728253; cv=none; d=google.com; s=arc-20160816; b=QuquWvR42YwoTNQokgOMvS9Wy6ADd6r1QGHk+sXYMQFbD53aCwF6gWQ2zAiY9StTXE 1/xqvjV1kJ90tw9zaZs4fSquaLD2j9iTIBac00nE8F/KuJ1DYHncWoj8KX6Ah2HLpmJg 7lJnruAI7S2a7wfIavK0CL53Aj6CtyHiA13T4IZsmnetVOGjh2fPdY1Dj7IA8pC86YXF eE07WmC5+bMeWwb8bn2Mv3k6TItKU11UNDZnIQ0cYJ9YdBlTAVPnePS2EYPhD0V2kgDn TLjQQtkMMRHUeOVciWGn7WndBTdhvIFQBKdJBSXhMF2VGTJhYH8XOHeDtlNma/J+C53c yuUg== 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=hFGpzU5KwhNmr20zuJNlExzeMs3xxo7WpAsEm8UJ2O4=; fh=5AwoD1nwIkB4+OrhHRLytj2QW6BUNyOeqcoemuAb+N8=; b=zzQ2/MFTiP6TNIThnxkzncTjFme2h+bBQcRsDz+XZbSoowIZDyoR09gJXA8rffdx5S 6UlY2xVn5MazzIArr/652Ov1c7mg7SLGlxUaHUF6qHSFZZqeeoiyV6c9rMo7Gb6Ec+yY 80xQsAPvCILGErfI12udtJiYpVOEomjvsXukTDS14CFu5xfV+cGNwzh/Poa+8DTBVZje GL2dpeINYtwTb+I4ZFxQ+oM3gOJ0d5xkZW3FnvweaFipE3AG7RBdogb6sDLXR88QcLMa 1IPzzqsG3G2Futf1AZRZ4Lwl6dvC6YCH0sK8jdElOt3BwHg1pyLjfIRMfN8/tc21rTq/ 1eyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=MHkl++BA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id co22-20020a17090afe9600b0028691b22e60si3277881pjb.9.2023.12.04.14.17.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 14:17:33 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=MHkl++BA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id CD8C38057435; Mon, 4 Dec 2023 14:17:30 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234150AbjLDWRF (ORCPT + 99 others); Mon, 4 Dec 2023 17:17:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234141AbjLDWRD (ORCPT ); Mon, 4 Dec 2023 17:17:03 -0500 Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B65BB10F for ; Mon, 4 Dec 2023 14:17:08 -0800 (PST) Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1d001e4cf7cso21071525ad.2 for ; Mon, 04 Dec 2023 14:17:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1701728228; x=1702333028; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=hFGpzU5KwhNmr20zuJNlExzeMs3xxo7WpAsEm8UJ2O4=; b=MHkl++BA9bNNxE03haUv5jX4phvwJSFojRNF0vrQiUp9gCuRK0sGZWbzCJS16xRI2Q z9G12BrxasH7B+BArcwnXU9inz8mPoCQYTBhvVSVwkYcabqRNj3Z2laLK5fI10rGju4O qnkvq+Ce+DwQmSlhzuVT6QcEHVMfM8Bh9uWcY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701728228; x=1702333028; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=hFGpzU5KwhNmr20zuJNlExzeMs3xxo7WpAsEm8UJ2O4=; b=cVvft71esEblygP6bbkbCW+OJJZx6QLta6zXd4NWONfdong7WxITbJes6t46rXHWyG bAIS09Jswjtfb2dEoLTKe7dRK4QUL74j7cJyvpSHIc9gvuugMTK0DHk/tXGsNPW5iEgX 3cx3OrZvHi10FA50KcQuo2sW2IgxpO/szyE94hhOc0WU++xCVoTX7H0m3ktNQX0UuKQ2 YeIpLscDGm0Ic5rKjmJM7Hwq+KyW0rU6xeFfJOa219cxubZWAAgBQMLigjL6hXTFvRl/ zw05LK4MKUeVC/XQv9XGKDsLOhlR4/rcvr4c5Ti7IOGKq6AZmdNeNIwNC4phTjQBy49x y6uA== X-Gm-Message-State: AOJu0YwH7exjxzFERdlAHS+tqeCozYIrN/0r+7gVyVKdqy2GCuOAT12s OLQwD2Az/5S9I3VHyu2XcI4/vw== X-Received: by 2002:a17:902:a585:b0:1d0:6ffd:ae15 with SMTP id az5-20020a170902a58500b001d06ffdae15mr2071582plb.124.1701728228199; Mon, 04 Dec 2023 14:17:08 -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 f6-20020a170902684600b001cf5d4f8f26sm7124981pln.248.2023.12.04.14.17.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Dec 2023 14:17:07 -0800 (PST) Date: Mon, 4 Dec 2023 14:17:06 -0800 From: Kees Cook To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: "Gustavo A. R. Silva" , Luis Chamberlain , Iurii Zaikin , Greg Kroah-Hartman , Joel Granados , linux-hardening@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v2 12/18] sysctl: treewide: constify the ctl_table argument of handlers Message-ID: <202312041416.9336746D3@keescook> References: <20231204-const-sysctl-v2-0-7a5060b11447@weissschuh.net> <20231204-const-sysctl-v2-12-7a5060b11447@weissschuh.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20231204-const-sysctl-v2-12-7a5060b11447@weissschuh.net> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Mon, 04 Dec 2023 14:17:31 -0800 (PST) On Mon, Dec 04, 2023 at 08:52:25AM +0100, Thomas Wei?schuh wrote: > In a future commit the sysctl core will only use > "const struct ctl_table". As a preparation for that adapt all the proc > handlers. > > Signed-off-by: Thomas Wei?schuh Reviewed-by: Kees Cook # security/* -- Kees Cook