Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp919631lqt; Fri, 7 Jun 2024 02:41:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX3l0Ai3Xc609rAjukmvzj9RcTjNpUB6uNEH2hBK+3bq2WhvUWrRfxGNrHTzS4EzFbwVaFiuC+66S2P43NZzjLXbSWhvYD7PynXydVDxQ== X-Google-Smtp-Source: AGHT+IHmWsGUzy5n4IUk/PPgXbt5P4Ztapmqn/ReOgzROJhxWp4iF3Wi9QRO5QHNZ9hJZouKfy8c X-Received: by 2002:a05:6214:5d91:b0:6b0:488c:6f48 with SMTP id 6a1803df08f44-6b059f851bfmr19787946d6.57.1717753266829; Fri, 07 Jun 2024 02:41:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717753266; cv=pass; d=google.com; s=arc-20160816; b=No2IQkV5Q7nsuZ1+9OYpsVpyBQhFCNIxNJIGf2slZeUOnLCjHRVIWMLUehSMxd3E0N VT1IsIcY5taz+p8ty3f/bC/8GPyc4lwjOFDeEoty+w6aF09/DzzV+IZ/jSId0GRp9BcY AfH6BdOvNdXNGZXvqqkaufgg84n4be1XDUNS4KvZQb0LDmxVksF8VA5iBlwtMR/xanKr Qq0k2zZrWrg360C/61GH0BoniGrXiQQkgi26g7VeCG4o+k3N6+ff0NSLVeuE8gVdO9Eo vvlmx8Xbb3pTMhkwDXs0ptWg0wXWZCZAaui2SVVpYbHj+OOu9erfY6y/HsTS55Kntf1A MC6Q== 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=IWBCTkTZYPMlXek+QLQnRtmei3pBxY66TSKRUwCX7y8=; fh=jJH437ymh1FEwcbJkwqpqwlYrek3EsoH6kjmu+EzNJ0=; b=Uh8sFkNeqjm1OC4pmTMtluFsbMWrmdoW1+M7WJDM/2tSOO1ZMfSzYsw1zyvXY5Futj Ua6UOdCrGm+T3CR6AFUGshFABuOBnhWRYPkLpaAJsV87ugApFpa1w67hPSAavQmOs20s 291Js2LWbaOYBGt/K4VDQaFb6jJG31C6iNpNJhFatmh6pDrV6TGlIkQMNVK8JqxwCa/u zNP/JnvJKp1/KtK/ubdATd9tB52BeF+B+7n2IiAag8NuheMN1+ebhqlGWAModZ9hFXKt kA1IwhjFgSN3adsVKn4rrYZ8zlGYndUISegU406L+uLUZrtivwLORioovP+KM9+maJud VWXQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=Qo806YPB; 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-205746-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205746-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 6a1803df08f44-6b04f632c6esi34204776d6.96.2024.06.07.02.41.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 02:41:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-205746-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=Qo806YPB; 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-205746-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-205746-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 71EBC1C22EC0 for ; Fri, 7 Jun 2024 09:41:06 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0292715B569; Fri, 7 Jun 2024 09:41:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="Qo806YPB" 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 4C2C815B148 for ; Fri, 7 Jun 2024 09:40:59 +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=1717753262; cv=none; b=rDHYOV6rKwvUVbAaBpwlRNYI3W+Uib0htzQbFt/Nc8CSgKhtwNS4odDznTYVFQvMWQwnZszZlSm0wzfye/8c2aubDE94qHehytXdzvyc/oZLVD3MTI/GbTe78M38maXI9fmH/5UICxspCuTeJvyRfMN5RvtQKW0Q6eKCjiDH1Og= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717753262; c=relaxed/simple; bh=vWwn6fNTvMlK4pId9dgBxn2n1khNlEr7ww85MkEHGS8=; h=Date:From:To:CC:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition:In-Reply-To:References; b=QD+WUIAMNqLmaokyAJNw7MCXm8GLmZ6OiDCnXqNy5ktKIULNBod1Zpfy9Uvyvhijzlci3WVCrKNjJzb991BrRvDOMJJUmR+yt5l8sDgusdF9w206H6J+YUoUeok3q7Pz/omAG5wVMKFg34vUOZmX0uuf0mtzrDdeTKjaeEswNxo= 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=Qo806YPB; 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 20240607094058euoutp02a21d4dcb44468a5e9c64a5fd68ad251d~Wr3y74hvf2116021160euoutp02e for ; Fri, 7 Jun 2024 09:40:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout2.w1.samsung.com 20240607094058euoutp02a21d4dcb44468a5e9c64a5fd68ad251d~Wr3y74hvf2116021160euoutp02e DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1717753258; bh=IWBCTkTZYPMlXek+QLQnRtmei3pBxY66TSKRUwCX7y8=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=Qo806YPBBApPQSUUojUP0ElA8uFxl87EscLJQYzOLefki6qT/FaKyC3atk4EbwHb8 oruuA5dT+UJW/KPW0eGDiC0gQe6K6oG/W33GZmsTn9X1/QUD0bFleOuZqeLqlqx8bh UzA66eHYnMhXXOxbIymQK21mqqvgGY1cCiMLPdi8= Received: from eusmges2new.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20240607094058eucas1p2ddec8dec2da0a2ae46c33052d7041555~Wr3y1Ye_F0862708627eucas1p2D; Fri, 7 Jun 2024 09:40:58 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges2new.samsung.com (EUCPMTA) with SMTP id 97.D6.09875.9A5D2666; Fri, 7 Jun 2024 10:40:57 +0100 (BST) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20240607094057eucas1p262bd4506f596be24b2b007839e2ab57e~Wr3yW3bw30860708607eucas1p2I; Fri, 7 Jun 2024 09:40:57 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20240607094057eusmtrp21988e5378a46975292758c82cdd44b70~Wr3yWLCAF0665006650eusmtrp2M; Fri, 7 Jun 2024 09:40:57 +0000 (GMT) X-AuditID: cbfec7f4-131ff70000002693-08-6662d5a99504 Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 18.66.08810.9A5D2666; Fri, 7 Jun 2024 10:40:57 +0100 (BST) Received: from CAMSVWEXC01.scsc.local (unknown [106.1.227.71]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20240607094057eusmtip2689723000433c216154645e2c28afa6e~Wr3yLqkRB1609616096eusmtip22; Fri, 7 Jun 2024 09:40:57 +0000 (GMT) Received: from localhost (106.210.248.166) by CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 7 Jun 2024 10:40:56 +0100 Date: Fri, 7 Jun 2024 11:40:53 +0200 From: Joel Granados To: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= CC: Luis Chamberlain , , Kees Cook Subject: Re: Current state of the sysctl constification effort Message-ID: <20240607094053.x3cmkhmrgaw6jqd3@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="iso-8859-1" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7823ff95-1490-4c1b-b489-a9c05adad645@t-8ch.de> X-ClientProxiedBy: CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) To CAMSVWEXC01.scsc.local (2002:6a01:e347::6a01:e347) X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpnleLIzCtJLcpLzFFi42LZduznOd2VV5PSDH5vsLA4051rcXnXHDaL GxOeMlocejudzYHFY3bDRRaPTas62TxmL7nB4vF5k1wASxSXTUpqTmZZapG+XQJXxqv72gX3 OCse3lzA3MD4j72LkZNDQsBEYkXvVOYuRi4OIYEVjBJNL6awgSSEBL4wSqx8GwmR+MwocaX7 MVAHB1jHgZnZEPHljBLnmm+xQDQAFV2erQmR2MIosbVrFytIgkVARWLF8ydgU9kEdCTOv7nD DGKLCJhL3Dk4G8xmFsiVmHepG+wkYQE7iT0bloPZvAIOEss/9zJC2IISJ2c+YYGo15O4MRXk Ug4gW1pi+T8OiLC8RPNWiJGcAjYSM/bvYoP4Ulni1KppUHatxNpjZ9hB7pQQuMAhceHsKhaI hIvE6cO9rBC2sMSr41ugQSQj8X/nfCaIhsmMEvv/fYDqXs0osazxKxNElbVEy5UnUB2OEise LmeDBBefxI23ghDX8UlM2jadGSLMK9HRJjSBUWUWktdmIXltFsJrs5C8toCRZRWjeGppcW56 arFRXmq5XnFibnFpXrpecn7uJkZgWjn97/iXHYzLX33UO8TIxMF4iFGCg1lJhNevOD5NiDcl sbIqtSg/vqg0J7X4EKM0B4uSOK9qinyqkEB6YklqdmpqQWoRTJaJg1Oqgcnfe+u3y1uLv09k UJ/k8/CWxUOLa0djv7GVBDJr9AXFWbk9nWIsqie6YqPDrPi0Aru3H25+qNl3g1n63XlBuXUm 4mutV0RuND+kcuXY6UL12KLfcov3ax8+o7uQe8NnxyjJgJlnrp1reBZmHs3LIXDjW6zaulvr /y77+qewM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yc4qiTrik3wiwMF4gPY+TtYLxDq/9Bb+2L092M2wrSpG3 DTBKvj9N6dXXxyvCbH6ctDb+tXB5iGRTkQqPbPbZr5d/8/efYagzUzmn8O1HpVpS8xsj1d8z XFf/Cf1xO4v3x/owcdGApM3KLzUnnWzJKBY9v8vy+L4tcW5nrxi9/OmuxFAq6p2X/8ziB9eG l3VKLMUZiYZazEXFiQBop8OaRAMAAA== X-CMS-MailID: 20240607094057eucas1p262bd4506f596be24b2b007839e2ab57e X-Msg-Generator: CA X-RootMTR: 20240531105042eucas1p1bcf3ee22d224c8d88aca633e5f01e0d2 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20240531105042eucas1p1bcf3ee22d224c8d88aca633e5f01e0d2 References: <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. > > 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/ All this is coming together nicely. Is there anything left to do besides what is being discussed in this mail, to start changing the ctl_tables to `static const`? Best -- Joel Granados