Received: by 2002:ab2:6309:0:b0:1fb:d597:ff75 with SMTP id s9csp1064788lqt; Fri, 7 Jun 2024 07:10:55 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX9j7dzZ4jM5eoNbQMs00KFZSynMOiIRne5fC30a17OVk/8ZOTd5d+w2N0JGGjj+QlMG2oaqx/lzusg+GDg+hZglWMIegGP72OU0yXCfQ== X-Google-Smtp-Source: AGHT+IHiNLoseJ09ybW5ooOqS6HM/jeOk+CLr9NrUQoEtIiDRSK+PPn3uhZ+YL36/EqA+1eIcMUM X-Received: by 2002:a17:902:e882:b0:1f6:6e83:3fcc with SMTP id d9443c01a7336-1f6d03774afmr28216075ad.43.1717769454596; Fri, 07 Jun 2024 07:10:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717769454; cv=pass; d=google.com; s=arc-20160816; b=q0dRmYFB3mQbLoeuGmebMW6dAw2kszAmqygqm8Nrfp83rllXSfe9K39FzQWnQnFHsK kJGYjwlurzNfdr+CVswVOPnApE8mdpGpoZe6HY7sViAKCPOx4WI9c5bM5R5lYlgaTpks 2Jl4Vv5ZHmnR+EYa+jFt64kaRkoWoucCYrtNZQGjbSN8jot7WkB9cRmrW9Q4hXbvKjQI 93iGMU8RLSdDX/JUS9s8DDwSz8iZ+x0s3V3ulCtUwFHpiR5QC1l4NFYKF242Zix1yZKr jzbQlZ8pibbq0XKo0L2jQ+cu1fXqiLm4O/Uh5WGoHDlxbc83LwTvYpXVCO+Yuwvts3NR 62Jw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1lE/1QAkyrXnclYPOB/XE3VRKoX7WbBbeIcAcfjbjJM=; fh=sHE4qXqm8Y8tahg3bSLBKsvF/9zGGe+wWkwQluvosyE=; b=GMHQfDV6H7z1yh5puYjC/ajlBu3Y3tef0TtiZ2vZe+9Xvmu7qOZbqKoZ8M7w5eDwVA giSVhWtkz/J8FlljDRA7YIg+eR6BvySj20S4i+gjFK0SwDqmnRop9xz0T/EFHwZoZO/p nfu9JICyLlUrIfZ9jBZbqiDcQwx1veTYxS1y6trB6ECd5mphEVGEEdpzPEzUZlD3Kbo7 Ov6yfBNyy2cGJoWca9ir0sY7g6/OMw65D0j/MJ2g1h9cZQdEIhWojHECamd5TkLa1faU 8jY2q61hQk0vJ4E2LAj+HuboYpOutzj/YZBvEhgwQqPDKVHj/YOMW76hI0G+eyVVfL88 A+gg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=DFmbfU1i; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net dmarc=pass fromdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-206191-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206191-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=weissschuh.net Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6de2760651dsi3103693a12.500.2024.06.07.07.10.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 07:10:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-206191-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b=DFmbfU1i; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net dmarc=pass fromdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-206191-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-206191-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=weissschuh.net 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 44BA4B264E8 for ; Fri, 7 Jun 2024 13:48:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A06015DBAD; Fri, 7 Jun 2024 13:48:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="DFmbfU1i" Received: from todd.t-8ch.de (todd.t-8ch.de [159.69.126.157]) (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 3D6CD192B89 for ; Fri, 7 Jun 2024 13:48:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=159.69.126.157 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717768109; cv=none; b=Vc0Z3CAKkzHQ0HPM1WTHjXFKbxP2ZADPFAamYUPPPXAEfvdKLbF8Od0YUU6PQgXbGopDsUVCeCVm4Dz6PYbNQDD3AeEeMVMi1dFnbN3jCp5t/MoFlHnAJVmYcLOK5mBIY3NhVlB4aEIteKyEYlH5MZMCgGvv4DXUc90gBsE7WHs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717768109; c=relaxed/simple; bh=flRN4f0GUMAs2oVcEL67vF6IZujwClDcBgizdMQWYyg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=KtYHvsgCyIadX/MQyZhXeY80S0ZkWhCJvO3HCrpzGwBb8+siIfJ/eRGLLjBNM9CwiAukSN4elUj6UFn8HDiOAKPgoI2VVh4maO0Cf3VURoip/zjvEoAm3qDOtFiCu/m9GBZU9f5W2qd1v/uVKa2Losjqyr4jbTcHXUTDOcCRJKo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net; spf=pass smtp.mailfrom=weissschuh.net; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b=DFmbfU1i; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=weissschuh.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=weissschuh.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=weissschuh.net; s=mail; t=1717768100; bh=flRN4f0GUMAs2oVcEL67vF6IZujwClDcBgizdMQWYyg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DFmbfU1iw3Zphmxi3+Lr+gl5uNpaCfP7J5ADHYUrx7yWq6CrnVCjGRPg2jjlVPKKZ se3REKn9ko7gyYaBrCete4eUy25cElcWnQc5V21yKnOVuy0ENZ/GvUKC7x8u3xtG9X jUJLY8qXHibmG4NvDMalFeDXFRyHhFgq4LxWAZlk= Date: Fri, 7 Jun 2024 15:48:20 +0200 From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Joel Granados Cc: Kees Cook , Luis Chamberlain , linux-kernel@vger.kernel.org Subject: Re: Current state of the sysctl constification effort Message-ID: References: <7823ff95-1490-4c1b-b489-a9c05adad645@t-8ch.de> <202405310930.5E2728A@keescook> <20240605082625.6hwdc3haim66rr7v@joelS2.panther.com> <202406061143.27C12F44A3@keescook> <20240607093053.ig6cqrr3xdxhbbt5@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=us-ascii Content-Disposition: inline In-Reply-To: <20240607093053.ig6cqrr3xdxhbbt5@joelS2.panther.com> On 2024-06-07 11:30:53+0000, Joel Granados wrote: > On Thu, Jun 06, 2024 at 11:52:25AM -0700, Kees Cook wrote: > > On Wed, Jun 05, 2024 at 10:26:25AM +0200, Joel Granados wrote: > > > On Fri, May 31, 2024 at 09:31:24AM -0700, Kees Cook wrote: > ... > > > @kees: Since you have probably done these before, I'll ask you the > > > questions: > > > > > > 1. The idea is to send Linus the treewide-constify patch on its own at > > > the end of the merge window for 6.11. Right? > > > > Right. The best time is likely around Wed on the second week of the merge > > window, assuming all dependencies have landed. And it could be sent > > earlier if all the dependencies land sooner than that. > That makes sense. I have added a reminder to myself to do this when the > time comes. Feel free (@kees and @thomas) to scream at me if you see > that I might be forgetting :) > > > > > > 2. Is there a special way to send these treewide patches? Or is it just > > > a regular PR with an explanation on why it is being done? > > > > I would do a regular PR with all the details for Linus to do the change > > himself, but many times people send these as an explicit patch. For > > example, include the full Coccinelle script, or the "sed" command > > line, etc, and then detail any "by hand" changes that were needed on > > top of that. > @Thomas: have you sent the 11/11 patch on its own to the lists? I cant > find it in my history. Please send it as a stand-alone patch, so It can > go into sysctl just like the others. No, I didn't send it to the list on its own yet. Do you want some changes or can I send it as-is? (Plus the new motivational blurb) > > > > > > 3. Can you please send (if there are any) me any examples where this has > > > been done in the past. Maybe some lore.kernel.org links? > > > > I found this one that is a good example, though it's a PATCH not a GIT PULL: > > > > https://lore.kernel.org/lkml/20221220134519.3dd1318b@gandalf.local.home/ > > became > > https://git.kernel.org/linus/292a089d78d3e2f7944e60bb897c977785a321e3