Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp796805lqj; Mon, 3 Jun 2024 00:23:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUt0dwTdSKvB2XAL9bFlpQbXd1iNWuP0Asquk81injH25PLXFpmmpHM4YoV1mCFiw8q96vMO+JX9Al8a/pCOPrzP06NKiRRhGSYbcpx5A== X-Google-Smtp-Source: AGHT+IEGtB7iHFySBWb4nopU7ww283S6zukoBd/k2S75s5EvNiS6Drq94jTrBtabC0A+QZEDMmDe X-Received: by 2002:ac8:7fc2:0:b0:43a:f262:ec6e with SMTP id d75a77b69052e-43ff528ab97mr93170141cf.32.1717399396864; Mon, 03 Jun 2024 00:23:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717399396; cv=pass; d=google.com; s=arc-20160816; b=P7XBp2WU3lkns80awvYYrmi9LHgLey18uwhcuF76AS2QlXlg06BErj/Uho9RkpvkYa vSh27hHeDOMIcGV5ie/d9Z18RJb9vyH4Hy0+x+RqX4R03+vbBTRJ0mfexxplPDqmz2IG 0ieuXUllWtyQ4QHYMqzLKbcacmfOqqpmhtQxY/ULQLcCgJQE9pChrOKi0nwbAW0UF6Qx w72sYPbVmU3QOrdE1xyIdM/ZmT5Hr0POdPnS/Q36y+namE9osqZCLs93p5oqpJYAEukw dalFgUAiha8fDtQN2KGtbLA2x9ZxJBaN4ucEd9OrpPJQ8/PSF6R715cZgxB8FLcsNLK6 4qgw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:cms-type:in-reply-to:content-transfer-encoding :content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=EkbmGCzh/nQo6pGVXmEjTKKwDfhlCH+JdFkpa2Tl01Y=; fh=Jn+Hf0t1sk5EeqLOrtAkDaAwWUIPd5TvhKfi72FT8lY=; b=PdI9iCo/MEmhvWBkdII8c/If6IQVcBYjST+0cdmDiEKKzu+LaLFZH4VeO7ainHWK7a 8zRKba5/pdt9K3T8JTvbFVIbc/Drk33yl/EV9ZGmjnjidosnLPsCYdIW/s/fwsYfRs5T 25L5/jB1z2yjuYjf2Ikea1hSIxBLw8wJPzNekA86Ap3rjJL57zk5XcPsNqR1N5NSzeUA mkD9Kq+kPQoUnETeFjH1OwFhiWZ3zzYGiU+XAyTypw45cMy4zRjBQN3m65n1u0jXiyB7 cLASgsIHV2ZnS4N2oFk9lHS0O9b5wz49686ROsoW3esRyDyh2QwG1kBhy9ZvF+Md2tLH eDHA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="F8L7w/0E"; arc=pass (i=1 spf=pass spfdomain=samsung.com dkim=pass dkdomain=samsung.com dmarc=pass fromdomain=samsung.com); spf=pass (google.com: domain of linux-kernel+bounces-198706-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198706-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43ff259c818si63832891cf.611.2024.06.03.00.23.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 00:23:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198706-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b="F8L7w/0E"; arc=pass (i=1 spf=pass spfdomain=samsung.com dkim=pass dkdomain=samsung.com dmarc=pass fromdomain=samsung.com); spf=pass (google.com: domain of linux-kernel+bounces-198706-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198706-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 83FAB1C21AE9 for ; Mon, 3 Jun 2024 07:23:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 60B6B44C94; Mon, 3 Jun 2024 07:23:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="F8L7w/0E" Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) (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 5822F482D8 for ; Mon, 3 Jun 2024 07:23:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=210.118.77.12 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717399385; cv=none; b=GoXBsYssfR1hpD1jT7q2LeWjHcKLQIIEpC0E+MB/2WBj1z9XoG4L/FM9vU1cJpZS4IBqXyl+lhYi7iC+pV8710xwyEyWdcO44JVNXx9CCKf87CWtZtjPp3wDKY0SuyNDxmXDf7CG56G5TkNP37FJi81TdTOF1yVVD3EKeOOfQYQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717399385; c=relaxed/simple; bh=KQZt4AJ93v3cKSsd9GvzX4O9AJNuGEg5QhKSf/Ku1ZE=; h=Date:From:To:CC:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:References; b=dpEIUS1q2aoYcclA93SVUGAJj5T4zi127NbAEUnTISQHGemCfxUyzbq+WNVn9vONRK4g08qBWAyr43SnZgbmBOq8T34/idaLqjsej/11BIrqHaHpJV2oXnYwxu1CiZvZDsj4XO6Fie+WIUZ7AnRkI5enrTx2xyks3vv7pZNdbhA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com; spf=pass smtp.mailfrom=samsung.com; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b=F8L7w/0E; arc=none smtp.client-ip=210.118.77.12 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=samsung.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=samsung.com Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20240603072301euoutp02bc2cde75c6e5b8710bdac3e82af473bc~VbaNrEh5f2835828358euoutp02r for ; Mon, 3 Jun 2024 07:23:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20240603072301euoutp02bc2cde75c6e5b8710bdac3e82af473bc~VbaNrEh5f2835828358euoutp02r DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1717399381; bh=EkbmGCzh/nQo6pGVXmEjTKKwDfhlCH+JdFkpa2Tl01Y=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=F8L7w/0EwLsS3cKPKrQqzZQZLof4yLDXFlCS2TxRbTTcUKcd+DIyljYKaM6VnhitO WMtPBiLWMTm3lhzkN6HYbUr4KleHVcdr9wY50t0vTGZkBMRtjxU4s/KbciEfTFJIOf ILT5dY22Tcm0KSQUdMYJC/flCrhQdgcYIoCwUG7Q= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20240603072301eucas1p18dffc97ff04d814062ef3d416ec234e8~VbaNgWvFo0801808018eucas1p1F; Mon, 3 Jun 2024 07:23:01 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 62.8B.09620.55F6D566; Mon, 3 Jun 2024 08:23:01 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20240603072301eucas1p2b3cc1eeb1628118ff9e4c08cd93a3622~VbaNMfbqm0095500955eucas1p2a; Mon, 3 Jun 2024 07:23:01 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20240603072301eusmtrp2cfa26f45234bd17b33b2934bdbdd32bd~VbaNL9LWf2227022270eusmtrp2Z; Mon, 3 Jun 2024 07:23:01 +0000 (GMT) X-AuditID: cbfec7f5-d1bff70000002594-8f-665d6f55ba45 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 13.01.08810.45F6D566; Mon, 3 Jun 2024 08:23:00 +0100 (BST) Received: from CAMSVWEXC01.scsc.local (unknown [106.1.227.71]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20240603072300eusmtip1051be470531aafad4a3c8167a42dc23e~VbaM-jKtN1737917379eusmtip1W; Mon, 3 Jun 2024 07:23:00 +0000 (GMT) Received: from localhost (106.110.32.44) by CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 3 Jun 2024 08:23:00 +0100 Date: Mon, 3 Jun 2024 09:22:55 +0200 From: Joel Granados To: Kees Cook CC: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= , Luis Chamberlain , Subject: Re: Current state of the sysctl constification effort Message-ID: <20240603072255.6i3xqzwjlqk2fi36@joelS2.panther.com> 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="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <202405310930.5E2728A@keescook> X-ClientProxiedBy: CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) To CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpjleLIzCtJLcpLzFFi42LZduznOd3Q/Ng0g6YtIhbr3p5ntbi8aw6b xY0JTxktDr2dzubA4rFpVSebx+wlN1g8Pm+SC2CO4rJJSc3JLEst0rdL4Mq4e+whY8ESropl O1+wNDDO5Ohi5OSQEDCROPDsBVMXIxeHkMAKRonJv44yQjhfGCXOfHjBCuF8ZpRo2PWAHabl 8d0dUInljBJXVs1hA0mAVZ2/pAmR2MQo8f/uNmaQBIuAikT/7d+MIDabgI7E+Td3wOIiAvIS O+Z9AbOZBeolXjf9ZAKxhQXsJPZsWA62jVfAQWLdressELagxMmZT1gg6jUlWrf/BqrhALKl JZb/44AIy0s0b50NNpITaNWsix+ZIY5WlPi6+B4LhF0rsfbYGXaQOyUELnBIPPnyH6rIReLk 0k9QXwpLvDq+BcqWkfi/cz4TRMNkRon9/z5Ada9mlFjW+JUJospaouXKE6gOR4kZK/exglwn IcAnceOtIMR1fBKTtk1nhgjzSnS0CU1gVJmF5LVZSF6bhfDaLCSvLWBkWcUonlpanJueWmyc l1quV5yYW1yal66XnJ+7iRGYVE7/O/51B+OKVx/1DjEycTAeYpTgYFYS4e2ri04T4k1JrKxK LcqPLyrNSS0+xCjNwaIkzquaIp8qJJCeWJKanZpakFoEk2Xi4JRqYBK8/fiXl9CKdpXCltn8 0vY7s7bO/9Nzqsx0cXfcp4+vBM+dVCrdUJ3/8bzF35RHeVOWXY22mbvrCNsj8z6TCu9ClY/b FnMfb7JVVlzVHsaTWiUwI256pEWr+6pGt+n6SQeqY/oPsIS5vHnnN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kP5A+KikvQ0iyzuxKus5pFe3a22C+333r7zU+7 5ZxoYr8ikLfj9OXne2r6955T02+592PxNRHpZ/VnRI4e3ZWWmflYN3XdytAbJ/QXbpfUvRy4 08WmYuoSy+0X5nJUXdL+4e+5yuzknIV8Zx+dci71X7njEbeTDoPTw9bUfRk6zWHcsZGKBYuZ FyixFGckGmoxFxUnAgBZ0tDVQQMAAA== X-CMS-MailID: 20240603072301eucas1p2b3cc1eeb1628118ff9e4c08cd93a3622 X-Msg-Generator: CA X-RootMTR: 20240531163128eucas1p20976d08e829373bfa8aa04fda1c7bec4 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20240531163128eucas1p20976d08e829373bfa8aa04fda1c7bec4 References: <7823ff95-1490-4c1b-b489-a9c05adad645@t-8ch.de> <202405310930.5E2728A@keescook> On Fri, May 31, 2024 at 09:31:24AM -0700, Kees Cook wrote: > 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? I was pulling all this into 6.11. > > -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 -- Joel Granados