Received: by 2002:a05:7208:70d5:b0:7f:5597:fa5c with SMTP id q21csp1293052rba; Fri, 22 Mar 2024 09:31:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV0Vp7YDSs7NNE+NeTC6jjZ5t3Oi7KIr1WQudeWSO557/NjmwJnx6xGULPr7saSKeKKpSrc+VbmZ+NYNRZeaV1JpkGRzqKgfXvnxXgziA== X-Google-Smtp-Source: AGHT+IG99AixhcLXgT/vLLbKly2RtupJ4yPPOUOW04YQ/+hRcjsA8f4REhweZDNpROEBCyBBTCj7 X-Received: by 2002:a05:6a20:1901:b0:1a3:6364:bd10 with SMTP id bv1-20020a056a20190100b001a36364bd10mr80926pzb.49.1711125116049; Fri, 22 Mar 2024 09:31:56 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711125116; cv=pass; d=google.com; s=arc-20160816; b=IfypcL4xD6ygRWeD7p7Dy7OamXFZ1EEOjk3bzYS+H2BBDb0wWPTMz5npedvtxmB23s dwrJentwttB8SisZMIlIy+xwr8bv4RCQo2teJBeU2zbQ7sx4WW8aG0cMPjvOkikWrF9D CtwTsc1mDWIaRjMRsoPv8UUoF3WpwARjh9klb95UIIW9PqRFRqzBNwVeOPojAMwwPeW6 HViVDntKtdcANl3tQbq+UK577rAqr+wGSLNteiP1XUgjF3fEeDP7CvAoEcIXOy1deNIj 1VnsPtAjiepyoZU9DBHte86mC5ccUA5DlX2Uh5GmNeQfK3FYZu7AWkSuOTerf5w5kac0 PC3A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=KtC9RavjzMOWWpmtrs06Uxpw6GGOq7qa1RPtB8jBgDw=; fh=K/uDYfemp62/Ebt1NzfuhXKZQUuZk4AqF9HfLsmBPa0=; b=ZgaYTUD7ECtiyPvoMrGsPfdIPhf0VZrAysfgpXudCGFjNvXZwuKe75TS+S277Ds/ob PgeZOu8BiwYfr+gAEoLacXGo+jAsz9vRzjEqwpw7JA7Le/WyIogOoeteApKqPlwYBu5t OLkAxq0OTPlOE4w1vz+6c8QekaddAAL6YQBSLQRtniI9IQsPOl5u6/jzJC8yXUIOjkcX 4LukfK22zjsEz4JrKyUOwLuaayjQnrHmEjYBEd7UynluUSzPvKDfsxDwcOGrQUc6sN46 Y+mJC7fSWqxtXTw1fOanAxyJUbs3IGhX9ZGHgNuybvGXelCbFLKs09onw8Pu3b8ohNX4 HdBA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b="in9L/Owx"; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-111781-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111781-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id f8-20020a17090274c800b001e0157a8468si2133010plt.321.2024.03.22.09.31.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Mar 2024 09:31:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-111781-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@weissschuh.net header.s=mail header.b="in9L/Owx"; arc=pass (i=1 spf=pass spfdomain=weissschuh.net dkim=pass dkdomain=weissschuh.net); spf=pass (google.com: domain of linux-kernel+bounces-111781-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-111781-linux.lists.archive=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 77F7E28310D for ; Fri, 22 Mar 2024 16:31:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A4EC95D720; Fri, 22 Mar 2024 16:31:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=weissschuh.net header.i=@weissschuh.net header.b="in9L/Owx" 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 A26065D468; Fri, 22 Mar 2024 16:31:41 +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=1711125105; cv=none; b=JYHU+JSjugnr/rD8Lt6Ud6SvZQIEpQUC7LEs2aT+i05MAWo7efl0O4sHCr7ppjIdL5hJs0sW6e2s4oCuZE21W7Mac+sBoKDpHcWR3SGKj6xtcEFzwXqt4xvOnuxq1IZbT8Sx/MHfT7In6JnNQ9/TNKVDdtV5wv3Kl2mfV7ZPY74= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711125105; c=relaxed/simple; bh=8LJhxXCQD+wqtKoDkgpPXOqd45cr4Vf2KPCBquLBOjo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=m51hG468eSifZ5qKyD2lPxylsd+GR+8qimLKm8+6C/D/e+BH2tg0nImlGNv1KsMFwC/FOaedeEt44J/o8R1iqMjyqSEtQFmtP6G9ANqr16Kg4uLXO2JptZ+OmXAoZssawByqqtfcR6VJ7+tYTtPXa6uJkcgLo40SmVfM9lUM7nQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none 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=in9L/Owx; arc=none smtp.client-ip=159.69.126.157 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none 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=1711125098; bh=8LJhxXCQD+wqtKoDkgpPXOqd45cr4Vf2KPCBquLBOjo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=in9L/OwxVLBeWYnkf8nGXvSJmViCoHW5+lzOtfOpf/PwuJqIUlGjqh1QGOQeYRzEf e8RtkjcnB5s8/M5RNO5OAeJkcLiraaToEUIwlJ4kmYdrDaY1e8GY40M3AOHAU9Um4K JbzvoN3HXduDPwuqh3jAVV7/k/IC3UeVMiRF4TQA= Date: Fri, 22 Mar 2024 17:31:37 +0100 From: Thomas =?utf-8?Q?Wei=C3=9Fschuh?= To: Joel Granados Cc: Luis Chamberlain , Kees Cook , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH v3 0/2] sysctl: treewide: prepare ctl_table_root for ctl_table constification Message-ID: References: <20240315-sysctl-const-ownership-v3-0-b86680eae02e@weissschuh.net> <20240322124709.w5ntjwb5tbumltoy@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: <20240322124709.w5ntjwb5tbumltoy@joelS2.panther.com> On 2024-03-22 13:47:09+0100, Joel Granados wrote: > On Fri, Mar 15, 2024 at 07:11:29PM +0100, Thomas Weißschuh wrote: > > The two patches were previously submitted on their own. > > In commit f9436a5d0497 > > ("sysctl: allow to change limits for posix messages queues") > > a code dependency was introduced between the two callbacks. > > This code dependency results in a dependency between the two patches, so > > now they are submitted as a series. > > > > The series is meant to be merged via the sysctl tree. > > > > There is an upcoming series that will introduce a new implementation of > > .set_ownership and .permissions which would need to be adapted [0]. > > > > These changes ere originally part of the sysctl-const series [1]. > > To slim down that series and reduce the message load on other > > maintainers to a minimum, the patches are split out. > > > > [0] https://lore.kernel.org/lkml/20240222160915.315255-1-aleksandr.mikhalitsyn@canonical.com/ > > [1] https://lore.kernel.org/lkml/20231204-const-sysctl-v2-2-7a5060b11447@weissschuh.net/ > > > > Signed-off-by: Thomas Weißschuh > > --- > > Changes in v3: > > - Drop now spurious argument in fs/proc/proc_sysctl.c > > - Rebase on next-20240315 > > - Incorporate permissions patch. > > - Link to v2 (ownership): https://lore.kernel.org/r/20240223-sysctl-const-ownership-v2-1-f9ba1795aaf2@weissschuh.net > > - Link to v1 (permissions): https://lore.kernel.org/r/20231226-sysctl-const-permissions-v1-1-5cd3c91f6299@weissschuh.net > > > > Changes in v2: > > - Rework commit message > > - Mention potential conflict with upcoming per-namespace kernel.pid_max > > sysctl > > - Delete unused parameter table > > - Link to v1: https://lore.kernel.org/r/20231226-sysctl-const-ownership-v1-1-d78fdd744ba1@weissschuh.net > > > > --- > > Thomas Weißschuh (2): > > sysctl: treewide: drop unused argument ctl_table_root::set_ownership(table) > > sysctl: treewide: constify argument ctl_table_root::permissions(table) > > > > fs/proc/proc_sysctl.c | 2 +- > > include/linux/sysctl.h | 3 +-- > > ipc/ipc_sysctl.c | 5 ++--- > > ipc/mq_sysctl.c | 5 ++--- > > kernel/ucount.c | 2 +- > > net/sysctl_net.c | 3 +-- > > 6 files changed, 8 insertions(+), 12 deletions(-) > > --- > > base-commit: a1e7655b77e3391b58ac28256789ea45b1685abb > > change-id: 20231226-sysctl-const-ownership-ff75e67b4eea > > > > Best regards, > > -- > > Thomas Weißschuh > > > > Will put this to test and then try to rebase it to 6.9-rc1 once it comes > out. Thanks! Your changes to the commit messages look good. For my other changes I'm planning to resubmit all of them during the weekend or next week. Thomas