Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp1579274rdb; Thu, 7 Dec 2023 03:20:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IHxr5/HhnjR/9CbFgtaIcMH4ua9ziCFGr1OhBa0p7ZIlcncTYRfUAbzz9ASDU1eIYwi9keb X-Received: by 2002:a17:90a:f68e:b0:286:6cc0:885f with SMTP id cl14-20020a17090af68e00b002866cc0885fmr1907013pjb.76.1701948010202; Thu, 07 Dec 2023 03:20:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701948010; cv=none; d=google.com; s=arc-20160816; b=u1jv8y3QagXRFqGN4mI42tJq5SjIQY3Zy8Y9rxG6ZAjLuudXIUnISPmaS+2pBsaiEH XvzLkCyZ3nlnmQ83VJwYXXNb1ucS1O+90DsInWPsy/NfrW8lnYKxgGaLkYbuTYI5UZ13 IBGeAdCNSHvjZzGWvBjnRXSVrOhPRRFzKj5jR8U7ewUZayJXDMGpB9S2P3x0eJkw4+5X tk0tMVoah8PJSC5KEdcESNchLUMrD4b3y7qzHEUfkEUydlEJ3tv49TvWT6zJa4wKrVfK nlqhnY9QzWRRRgZl+QNzR8RxyzoiZq9ycTSt92ztl9nUKaaI0qRhW+//a047ve02l/dg ypHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:in-reply-to :content-disposition:mime-version:message-id:subject:cc:to:from:date :dkim-signature:dkim-filter; bh=CXEoF01cA0lxJUjcgcpiHuTJ21uaNlVDe1HMzxDBl1M=; fh=VMiU9mcTfNctAjuTqNEfh9rYBGNzsqL/vcswcPFvNfw=; b=fjcR0fU/sGRci5y3HAp+mbDeQLEuSe3kOK7VqI0nGiBikb1D+sPJ9hkPwwCFdLwZd9 L+UUeR5EonEmaX8YSpYMvxekQSOtkxafjeHksftmR1x+y5J0RSdfqgR0gNYeIwMIHHil U4JbvRNCAwhXMr3eHyJT3GJ3pAbljn4H88YdQHUjpGFsVMMW2otabS4LafrYrQ+oeXCw 826Dht8xUBTivobx+XJjkMc6YjA/98USEVGmsRFxsz14uq9UTGtAbwjqwjIkK9Aw+bM1 ZPy5PZpdPFOpg+xfPuTtaKFfA/UyAPikC26M9Kcpk4f++CqEKaRucxKq9Fec8prvAaxF a/lA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Fry04PEM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id p11-20020a170902eacb00b001d091a00a10si975348pld.81.2023.12.07.03.20.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Dec 2023 03:20:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Fry04PEM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 8AA818061371; Thu, 7 Dec 2023 03:20:08 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378943AbjLGLT7 (ORCPT + 99 others); Thu, 7 Dec 2023 06:19:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378884AbjLGLT5 (ORCPT ); Thu, 7 Dec 2023 06:19:57 -0500 Received: from mailout2.w1.samsung.com (mailout2.w1.samsung.com [210.118.77.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6F768A3; Thu, 7 Dec 2023 03:20:02 -0800 (PST) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout2.w1.samsung.com (KnoxPortal) with ESMTP id 20231207112000euoutp02629bf037199b58114d617dc158ea9223~eiLB5yu043028230282euoutp02S; Thu, 7 Dec 2023 11:20:00 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20231207112000euoutp02629bf037199b58114d617dc158ea9223~eiLB5yu043028230282euoutp02S DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1701948000; bh=CXEoF01cA0lxJUjcgcpiHuTJ21uaNlVDe1HMzxDBl1M=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=Fry04PEMo5Lbo5h3A6jv9XprImiaT7JqLmSeGQpxjMGD5YjyNp+K0GS8rzOT+Io8p xxjKYbsO3fNSTqd8toZfD9438zZpYliZ4ZoJn5hcnhiFOWGOEgugopHI1MZZLikv0g DBTHrYBtQygndZlCFryEfFGPHqBTvzwtcNmYzPBk= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20231207112000eucas1p293f9ec36b36b17599041707c4c5b22cd~eiLBq602-1452414524eucas1p2p; Thu, 7 Dec 2023 11:20:00 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 58.8B.09814.06AA1756; Thu, 7 Dec 2023 11:20:00 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20231207111959eucas1p2a83929e07821c4311f420eeabf58f553~eiLBJq1J21452414524eucas1p2o; Thu, 7 Dec 2023 11:19:59 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20231207111959eusmtrp26676cebfdb0c107e7d6ddee853548b22~eiLBI-hrr2237722377eusmtrp2J; Thu, 7 Dec 2023 11:19:59 +0000 (GMT) X-AuditID: cbfec7f4-711ff70000002656-c4-6571aa60a452 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id 0D.A5.09274.F5AA1756; Thu, 7 Dec 2023 11:19:59 +0000 (GMT) Received: from CAMSVWEXC02.scsc.local (unknown [106.1.227.72]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20231207111959eusmtip1921e99a998a87ed5d059fee31555b558~eiLA8d6230310103101eusmtip1U; Thu, 7 Dec 2023 11:19:59 +0000 (GMT) Received: from localhost (106.210.248.38) by CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 7 Dec 2023 11:19:59 +0000 Date: Thu, 7 Dec 2023 12:19:57 +0100 From: Joel Granados To: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= CC: Luis Chamberlain , Kees Cook , "Gustavo A. R. Silva" , Iurii Zaikin , Greg Kroah-Hartman , , , Subject: Re: [PATCH v2 00/18] sysctl: constify sysctl ctl_tables Message-ID: <20231207111957.b24ib4hcxr6xufll@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="5z5snkykkq6vptla" Content-Disposition: inline In-Reply-To: X-Originating-IP: [106.210.248.38] X-ClientProxiedBy: CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) To CAMSVWEXC02.scsc.local (2002:6a01:e348::6a01:e348) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrFKsWRmVeSWpSXmKPExsWy7djPc7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Osuif8b23 e28feSfUbO68tWC2Ve/Ey+u36hXPzL6i9CBTtaaBJyLuGMeCFYd2/3TdXTqFOzs7/PfC/93d Ur+UFVM4l9VlBadUfFRiKc5INNRiLipOBAAdzfBbiQMAAA== X-CMS-MailID: 20231207111959eucas1p2a83929e07821c4311f420eeabf58f553 X-Msg-Generator: CA X-RootMTR: 20231205171700eucas1p17edbc33ec1d0be37573b1977b76b9ce6 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20231205171700eucas1p17edbc33ec1d0be37573b1977b76b9ce6 References: <20231204-const-sysctl-v2-0-7a5060b11447@weissschuh.net> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 07 Dec 2023 03:20:08 -0800 (PST) --5z5snkykkq6vptla Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 05, 2023 at 06:16:53PM +0100, Thomas Wei=DFschuh wrote: > Hi Luis, Joel, >=20 > On 2023-12-05 09:04:08+0100, Thomas Wei=DFschuh wrote: > > On 2023-12-04 21:50:14-0800, Luis Chamberlain wrote: > > > On Mon, Dec 04, 2023 at 08:52:13AM +0100, Thomas Wei=DFschuh wrote: > > > > Tested by booting and with the sysctl selftests on x86. > > >=20 > > > Can I trouble you to rebase on sysctl-next? > > >=20 > > > https://git.kernel.org/pub/scm/linux/kernel/git/mcgrof/linux.git/log/= ?h=3Dsysctl-next > >=20 > > Will do. >=20 > The rebased series is now available at > https://git.sr.ht/~t-8ch/linux b4/const-sysctl >=20 > Nothing much has changed in contrast to v2. > The only functional change so far is the initialization of > ctl_table_header::type in init_header(). >=20 > I'll wait for Joels and maybe some more reviews before resending it. >=20 > > [..] >=20 > For the future I think it would make sense to combine the tree-wide const= ification > of the structs with the removal of the sentinel values. I don't see how these two would fit. And this is why: 1. The "remove sentinel" stuff is almost done. With the sets going into 6.7 we would only be missing everything under net/*. So you would not be able to combine them (except for the net stuff) 2. The motivation for the two sets is differnt. This would confuse rather than simplify the process. 3. In order to introduce the const stuff we would have to go through another round of "convincing" which can potentially derail the "remove sentinel" stuff. I would *not* like to combine them. I think the const set can stand on its own. >=20 > This would reduce the impacts of the maintainers. >=20 >=20 > Thomas --=20 Joel Granados --5z5snkykkq6vptla Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEErkcJVyXmMSXOyyeQupfNUreWQU8FAmVxqlwACgkQupfNUreW QU8frQwAmVCgALk4OWR4ZO/s1n4rLY7ci247QjM9Bmg1WdksPWp70HkrU5eSmb9t BiHrNBMb9edU00xHbC0553m/HaeOq1sERcubT2LXmjagnshZzR4JHPj4qWi2k20k Bwnsd8n/ZMY33T7Vq97o3rW2W5aPMBiqeY/fdBPqG3ArlXUISGtonYFmGERiNhyu eZ6JBtjl5+Q50CwH01HbRm0uFLNWrZA3tBoJssnFJt06AaoYAYK302UL2DirCCuu fCLSIsiz3CngsVs+cJHLZaOWB5lXLPGoQjjGJ0Lvdy8Q5Xlgx/ckugTw9AzDN9B+ y7Q22g7TY+Eg8aspEvICKEIuQYo1fi0WmqgS63t+Ttvdw/VpeEId2p15eRz3PJGz KY0oOKoS2Xy52uNhxsL6zGtMqKM/hL3WJXtNyOeshXQWY2qrsF+t5+OckxODOCgR 5FFILM1DVgj5zJM2b7LC308T+ULLhU7HllJ9oLG6QzWotSx+M0TcbVmmNneN1nI8 BhCGk6c+ =2W1o -----END PGP SIGNATURE----- --5z5snkykkq6vptla--