Received: by 2002:a05:6500:2018:b0:1fb:9675:f89d with SMTP id t24csp568854lqh; Fri, 31 May 2024 09:31:32 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVa79MyIO519+qP1q9QC3W5/g+tytqgG7rrTi4ufPRFwchCaS+BQgVM4PdWtfUCCr+8I5Kwshyc75FK6EZr1t6t2rg7ERuv3vygfO8mNg== X-Google-Smtp-Source: AGHT+IEQL6d5DMfUysHUsYUi7hQ4NAU76N4gX2lItARJi34x3Jugz12vIKB+SqhAyTQXbVPLbMq8 X-Received: by 2002:ac2:5927:0:b0:523:b19a:2602 with SMTP id 2adb3069b0e04-52b896c1583mr1488932e87.54.1717173092356; Fri, 31 May 2024 09:31:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717173092; cv=pass; d=google.com; s=arc-20160816; b=yTBcTHuFmB5oA1wpWngU1e2KD0zrmxj9bTg8KRno8lLsjnlL/26ZC5pg1AuoR3Dz8r h43OOuIFUxJPFidn/zLh/onxBuhkOuYtjio5TVJzOZfCildwNmMH8uF+Wtx20Jh/FX6t s3cm1Tb6reQ2CcfLsNf7IVk6WSosftID+Lvzl+LUepzgNVZIjG5anEBYZq81S49Q1lrK 6HueuFURv+/dUmdc2T17DP1HJNhjoMVRDcK1inPPC64d9AB/OQ8EFBbBsGzDDQChwh8m igMkRfsibgiqYEfkD9bDVe4SbseOCzQXT9CAirr2w5asItMSeSUujg1M6CCmnvrtWq/H CJ9A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Y8IP4ABhGBW7mVbnCtUVkxnmX06w/oSvBkAVRr4/TuM=; fh=YP0/AiYmpzUuPICV2Man3MGWYlHLL9+9NpJEUwk/dVk=; b=rHdVTweRhP+OjzIyzyyAOSd8KVGd45RF2sJKiMrZ7qDUFsqQncF+mPeb7mEeVoHfRL AxPDOUmtfUX/ZsclpWYBhJuio2N+Gbe9X87EubUceigRvQRpoHpSgXHznMrbvuJUo/9X OXktv46kFMl0ZKj/Hpnu2rVO9J2ccxjV4a6HLZtdx4pSv8jOrqjHAYnYhqlWevfpIqnK YbD3EWvVx8oFlUFsYwkCpDrrGntVlJL9L4nZtTJ5bAJnLhVLF3j5/GmkVAgu40/pOO/k QWqOnMPSB2vglMODSLC0EVZRSJiWeQBB4vrAgi9bAXrE5J7ogn67K14esWdsPlTN9hbj u+8g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VK6OZ4oS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-197153-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197153-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a31cae730si1084293a12.602.2024.05.31.09.31.32 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 09:31:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197153-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VK6OZ4oS; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-197153-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197153-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 145351F240C5 for ; Fri, 31 May 2024 16:31:32 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2509615B96A; Fri, 31 May 2024 16:31:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VK6OZ4oS" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 50DAC155CA1 for ; Fri, 31 May 2024 16:31:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717173085; cv=none; b=ixTgL6jJ4GZTIDvv/AiSR3wq1dQFJcnbhLZHTCFggGqPC5U0zC6xZT9z61PGDyR4rgb9kXYWmLAyY/YwTXzkUv4FNFJ/lQZxp19qTs2lJYW9YaHf/FqGXBdB496UxxU76VMuitrSnZBfJZci65qxDbMsBfVhyaXZyc4S4SQFp/Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717173085; c=relaxed/simple; bh=gW5+IhYIVTfSyyZzpp7Cg6cBbmiuzcL52EQEZY9WgeQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KUHy/KidZpr4suoh4xL9tdQrDUWvNmUIEspn+ut8DZN0+K445cLhOwcLz/sxVznMryR67rxctppyqhmfAzW4urKQdau/g1ICV3+sNqxF/UPjGT72uBSBNCjJ2vkXH9TVNujd4UESm1HpYGBUIxQ6Qas+yMv50hIJWYb1p08ja5M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VK6OZ4oS; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1DE5EC116B1; Fri, 31 May 2024 16:31:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717173085; bh=gW5+IhYIVTfSyyZzpp7Cg6cBbmiuzcL52EQEZY9WgeQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VK6OZ4oSBr5tBWO+1LiZIbQAMIGGTSbML01M2Z4+76j3EO61SmHFWp2huE9n66PGR BEDOS5DgW3HDvuTYUUbxVM23pspyry0vbU4oO0dg8eVvTY2fbS+QV15CdXnTG3fZAQ JNAZ3uFHTW8eeK/jGmR8eiRGc70ULD+4qiA72rTyx5CTYdGDPkJHeBxKU9ib+hdhM2 UuvYr1bDWkKCLUduBGbnvbje559Ny0sy8/HTUhv1Crdwzn1J/ziLI6RNYit9o+RNTH dGnDAgSdJPneiPW1K3PeI1JJAmMJxNhh2mAYy90jM8oA8DSTNswQZTM+byXJDps3XD XWAoKzsVSa2pw== Date: Fri, 31 May 2024 09:31:24 -0700 From: Kees Cook To: Thomas =?iso-8859-1?Q?Wei=DFschuh?= Cc: Joel Granados , Luis Chamberlain , linux-kernel@vger.kernel.org Subject: Re: Current state of the sysctl constification effort Message-ID: <202405310930.5E2728A@keescook> References: <7823ff95-1490-4c1b-b489-a9c05adad645@t-8ch.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7823ff95-1490-4c1b-b489-a9c05adad645@t-8ch.de> On Fri, May 31, 2024 at 12:50:32PM +0200, Thomas Wei?schuh wrote: > Hi Joel, Hi Luis, > > most of the sysctl handler preparation patches have been picked up by > the subsystem maintainers and are available in -next. > > Only two are missing: > > * utsname: constify ctl_table arguments of utility function [0] > * sysctl: constify ctl_table arguments of utility function [1] > > Both of them are going through the sysctl tree anyways. This is great! Is the target v6.11 or v6.10 for these? -Kees > With this done it should be possible to also queue up > sysctl: treewide: constify the ctl_table argument of handlers [2] > for the bots to chew on in -next. > > My local builds are still succeeding on the last submitted version of > the patch. > > > Thomas > > [0] https://lore.kernel.org/lkml/20240518-sysctl-const-handler-utsname-v1-1-27a6c8813620@weissschuh.net/ > [1] https://lore.kernel.org/lkml/20240513-jag-constfy_sysctl_proc_args-v1-1-bba870a480d5@samsung.com/ > [2] https://lore.kernel.org/lkml/20240423-sysctl-const-handler-v3-11-e0beccb836e2@weissschuh.net/ -- Kees Cook