From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-yb1-f175.google.com (mail-yb1-f175.google.com [209.85.219.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 84E1E1D61A4 for ; Tue, 28 Jan 2025 15:43:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.219.175 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738079006; cv=none; b=GEnAdSk+Ej29aluXzoMCC5nt79uGpO9gNpLINyjBPT1/DTtR9kRMgCxLnDWmLhbs22TKVWmzqX2ZYiHjFNGY0L43juYkbyTLq5U1IXNeesuq2H8yHcJGigrdjGEXZqPduohefQdmO36W0Rhw1wgZo2DRnDHK1WQmgsyCxHsvZiU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738079006; c=relaxed/simple; bh=4CM+Y34LzyqTPbJa964bMKTZoegb6ZCbeVLJYvxkr2Y=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=OMt+AABMPuVgu7ja5s1rp9eLS84Yh5NYyPLm0iPu7GsIbZ0f2vnK3d0oRfBQjVxiRBWBIYpAVVinACgPqtmNY8+3IgWwGUmgbMhg9iqPcSYFTJB3ZtzjJqzGBXpVvTOcsVZodRINwFeSS/c9F8ewctDNEojiQX+Su0l1OzcCsQ8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=paul-moore.com; spf=pass smtp.mailfrom=paul-moore.com; dkim=pass (2048-bit key) header.d=paul-moore.com header.i=@paul-moore.com header.b=ZzdR8vdI; arc=none smtp.client-ip=209.85.219.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=paul-moore.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=paul-moore.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=paul-moore.com header.i=@paul-moore.com header.b="ZzdR8vdI" Received: by mail-yb1-f175.google.com with SMTP id 3f1490d57ef6-e549b0f8d57so9734990276.3 for ; Tue, 28 Jan 2025 07:43:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paul-moore.com; s=google; t=1738079001; x=1738683801; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4CM+Y34LzyqTPbJa964bMKTZoegb6ZCbeVLJYvxkr2Y=; b=ZzdR8vdIiohnoZ4hKdRsx8vjUSASU/72vdBDURxTPxW6Y5y+xqJe1XFJv37MN3/RSh 1N9DWACiMe42Ssr+6RyacQYB0mKZF7r9X4dw06gLm3TJ5kXU+QA6Pwxa8XDIazhEp8C0 9uU7YdXy5cLi0N5EPxtYGd6vErWsFg/mLsK5lwXF/VP7H3vmwwe2R2U45ytaFkUMk6Za lp6jed/BVTI9FjvFUI0MN7HYChc3iERhjHp52qu+iW++/bUjLH+wfDW2Jw7AJF6Rr/MJ y67AxGiMWpozGojGCejMex/pBvJsfQOTerwdd08tOqwT12ksmB/+EE0jtUDQTB2nY1qi QFbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1738079001; x=1738683801; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=4CM+Y34LzyqTPbJa964bMKTZoegb6ZCbeVLJYvxkr2Y=; b=w1jaIsZL1wtG5LJK6zgDFdychQB1eqcs7Er2Feb46VOyI1OpB95pNPUdt5FEdfRBRb Fjs2d6y2918bhEYI8XDRKxPYAIy74+0wmvqd5wYd7JCFCnfB/vZWumTNdwLgaedb9iUd GApFFy+SvaI4TgXqtCQ2Ft0EK3fHzU1+EU+xvVP1cTd/cPhCo7w39fJhXdwvkK1vvYBc 449raKaS1oLG7sFT2D9FndKs7xNuSyB2Mln80BtSlN9V5J/Zamrh7SF4qwoefJYXmX1C uIXfEoCOUm7GUFlUaEXJj/Bqb8ASZh/hnPm1e9fBUvyIafPeT3U1yFT7XcZmiOcQNXSY f26g== X-Forwarded-Encrypted: i=1; AJvYcCU5LR/8AO3lDh2sT4/i6r8Ji99tsbkyP4Y/Nbj0gHrNe2OESp5cQdaAOOCfmi/W6pZpHZpk8iMtjg==@vger.kernel.org X-Gm-Message-State: AOJu0YxwkhKzS7BObyvVkLDIjE9O4wjnooWElAXVfPYYOApBhX9f0xOO q/vN8Zn1B9cxuU69pcm0wwwrvQFNGautgSnAKgqz0gC5B/ngNoXS7T/IkSmtpwfwGwu854+68YP v8QHi102qwbvJpIdOZyn+F2fOo/mbgK3Bbw7c X-Gm-Gg: ASbGncv5UO1miW3EMQTpDEApilPdo4yK3yyteY6Vr+FGkDrcM2gHxTKxa697qy9tvkD eChhAgpCZWBPz8CBA6GIs7d6pV9GPTPdszzeb4msZrIe0u6lbpcudWVNTBsyxYpg+XfYCxTA= X-Google-Smtp-Source: AGHT+IGuLqrmdoXiE8apV7tzhOJZ5Xm1OF/NxWm8Kjkh7RMoG05FR1MdO9WMx2ebniwyt0o5rEC0Jv+xP432BtVJDY0= X-Received: by 2002:a05:690c:4d02:b0:6ef:6646:b50a with SMTP id 00721157ae682-6f6eb6b2881mr361409457b3.20.1738079001445; Tue, 28 Jan 2025 07:43:21 -0800 (PST) Precedence: bulk X-Mailing-List: io-uring@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20250110-jag-ctl_table_const-v2-1-0000e1663144@kernel.org> <87jzag9ugx.fsf@intel.com> In-Reply-To: From: Paul Moore Date: Tue, 28 Jan 2025 10:43:10 -0500 X-Gm-Features: AWEUYZkHRaUuCTQsu1U9C5jhigmIE9c2_8OmkE_i2Qv7ILXtAaTfDLC5EcLBZNk Message-ID: Subject: Re: Re: Re: Re: [PATCH v2] treewide: const qualify ctl_tables where applicable To: Joel Granados Cc: Matthew Wilcox , Jani Nikula , Ard Biesheuvel , Alexander Gordeev , =?UTF-8?Q?Thomas_Wei=C3=9Fschuh?= , Kees Cook , Luis Chamberlain , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-crypto@vger.kernel.org, openipmi-developer@lists.sourceforge.net, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, intel-xe@lists.freedesktop.org, linux-hyperv@vger.kernel.org, linux-rdma@vger.kernel.org, linux-raid@vger.kernel.org, linux-scsi@vger.kernel.org, linux-serial@vger.kernel.org, xen-devel@lists.xenproject.org, linux-aio@kvack.org, linux-fsdevel@vger.kernel.org, netfs@lists.linux.dev, codalist@coda.cs.cmu.edu, linux-mm@kvack.org, linux-nfs@vger.kernel.org, ocfs2-devel@lists.linux.dev, fsverity@lists.linux.dev, linux-xfs@vger.kernel.org, io-uring@vger.kernel.org, bpf@vger.kernel.org, kexec@lists.infradead.org, linux-trace-kernel@vger.kernel.org, linux-hardening@vger.kernel.org, apparmor@lists.ubuntu.com, linux-security-module@vger.kernel.org, keyrings@vger.kernel.org, Song Liu , "Steven Rostedt (Google)" , "Martin K. Petersen" , "Darrick J. Wong" , Corey Minyard Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Jan 28, 2025 at 6:22=E2=80=AFAM Joel Granados wrote: > On Mon, Jan 27, 2025 at 03:42:39PM +0000, Matthew Wilcox wrote: > > On Mon, Jan 27, 2025 at 04:55:58PM +0200, Jani Nikula wrote: > > > You could have static const within functions too. You get the rodata > > > protection and function local scope, best of both worlds? > > > > timer_active is on the stack, so it can't be static const. > > > > Does this really need to be cc'd to such a wide distribution list? > That is a very good question. I removed 160 people from the original > e-mail and left the ones that where previously involved with this patch > and left all the lists for good measure. But it seems I can reduce it > even more. > > How about this: For these treewide efforts I just leave the people that > are/were involved in the series and add two lists: linux-kernel and > linux-hardening. > > Unless someone screams, I'll try this out on my next treewide. I'm not screaming about it :) but anything that touches the LSM, SELinux, or audit code (or matches the regex in MAINTAINERS) I would prefer to see on the associated mailing list. --=20 paul-moore.com