Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp2991746ybk; Mon, 18 May 2020 13:02:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxJ/v3SLmyT1gA+Au4uB6zV949RgHmIlG1aZL121DNYG8HU7ZLZTQsL5siPuEHgaS291G3w X-Received: by 2002:a17:906:eda5:: with SMTP id sa5mr15692608ejb.289.1589832119965; Mon, 18 May 2020 13:01:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589832119; cv=none; d=google.com; s=arc-20160816; b=qkifjT/qpPlI9vJrsGbAvrpGfc1X/BxQf9wtMDViZj1bn10L1SLzPeQd+7KnXc4GnB d4BfCVNFuOCb2smCUEPVbfhEgRis1vPlTM4bIp6UbruDg9zakXpMTGU5CvXBqTSuRzud WSY0zQ/u+OYFCUoWqBrnvGk5+z1vUTsfyMGOes7l4Oc0FygUiPlAY+tK+1PrDb50L5qO xaUKEToHX9OzTlpVK1ekaru4Nr5GU4Q20WsqKKxb4CGp/O3UmvJghPhVR2OQ/Z6pSiSH AinAqcviGOdBB0p8wNezU5ngT5sUQzFaGdmv2aDK6w3SInFLnoFQxik3lAIIDsDooav1 kQow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=MNvGxXH70pUk2rUMUm7OX5VYVn/vSKKSqC8ibxkcQ+c=; b=e+a2DpxOhhP8Jp1Ul6SXIoIfDfsjghQRM4dujPpJ6Fh4KhcVYmO2ZuodfJKcKKzJLk 4EWLkEMjNcjehqIlxhb8vg4Dn8o541Nr4myqNec0OiKlH32CeLWLfJSxYIrUG3nMsJQi F2VHupHeiKPkpLjkg0gzEOmSG0flZYELPWSXaLnjO6g2OlMt8YS/D2/gBjynMARXTO3N BMumFGgxp+M4VWPggSvb1AKKqIKdiWOuLKHt71fSg8AtCOj2gBkaGNBsliAeliwt9qs0 3UfceKYb236ph++c5vhFEIkR4b1Qg1aMoBJKXKib5RMqpniSVSMpsYAVv/Q29tC3gQz9 iZ4A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dd22si596764edb.557.2020.05.18.13.01.36; Mon, 18 May 2020 13:01:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730510AbgERSbC (ORCPT + 99 others); Mon, 18 May 2020 14:31:02 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:41153 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729437AbgERSa5 (ORCPT ); Mon, 18 May 2020 14:30:57 -0400 Received: by mail-pf1-f193.google.com with SMTP id 23so5343701pfy.8; Mon, 18 May 2020 11:30:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=MNvGxXH70pUk2rUMUm7OX5VYVn/vSKKSqC8ibxkcQ+c=; b=LkgTRMtFHTuflen9VfDx0gPUZ9vaone1bh8mAUpu1gCsvBMvO7vynQe5RiwSNx4uL4 Y/+KW7FeLOehpsAxoQ7jetQPVmJe9YkEJgIYpzthLIkEkmuraEsGm31hy+g/Tp7A+VtA 6T8GMFygIOGfB47pjBC9E3AU6eGuwd9bJFQAy68qFT+bjSfT8OSK5ko2y0MW8VlTCXQB vyBrc0oZcMTXVQUFZrtNlEAi69UaIPvrRuyspeWQs4MBPerj05vKyomXYM2z5MwkOVVE gTse/ka6xx3uoQk9O6R6ATUtwG7fad5SvTSvFV68xtLUZ+WK98eUtitPeg0Cib6cTmAC JI0w== X-Gm-Message-State: AOAM531/5eBfGFBw4+M5mS9nbkTzVs0wB4QmCQc0KAZBs2NgR58ymepJ It5tidZ9VAPV5uvINJ/Y5cI= X-Received: by 2002:a63:3d7:: with SMTP id 206mr16076823pgd.45.1589826657018; Mon, 18 May 2020 11:30:57 -0700 (PDT) Received: from 42.do-not-panic.com (42.do-not-panic.com. [157.230.128.187]) by smtp.gmail.com with ESMTPSA id gt10sm204901pjb.30.2020.05.18.11.30.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 May 2020 11:30:56 -0700 (PDT) Received: by 42.do-not-panic.com (Postfix, from userid 1000) id 3B5A8404B0; Mon, 18 May 2020 18:30:55 +0000 (UTC) Date: Mon, 18 May 2020 18:30:55 +0000 From: Luis Chamberlain To: Kees Cook Cc: Xiaoming Ni , Andrew Morton , Stephen Kitt , Iurii Zaikin , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] sysctl: const-ify ngroups_max Message-ID: <20200518183055.GN11244@42.do-not-panic.com> References: <20200518155727.10514-1-steve@sk2.org> <202005180908.C016C44D2@keescook> <20200518172509.GM11244@42.do-not-panic.com> <202005181117.BB74974@keescook> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202005181117.BB74974@keescook> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, May 18, 2020 at 11:17:47AM -0700, Kees Cook wrote: > On Mon, May 18, 2020 at 05:25:09PM +0000, Luis Chamberlain wrote: > > On Mon, May 18, 2020 at 09:08:22AM -0700, Kees Cook wrote: > > > On Mon, May 18, 2020 at 05:57:27PM +0200, Stephen Kitt wrote: > > > > ngroups_max is a read-only sysctl entry, reflecting NGROUPS_MAX. Make > > > > it const, in the same way as cap_last_cap. > > > > > > > > Signed-off-by: Stephen Kitt > > > > > > Reviewed-by: Kees Cook > > > > Kees, since there is quite a bit of sysctl cleanup stuff going on and I > > have a fs sysctl kitchen cleanup, are you alright if I carry this in a > > tree and send this to Andrew once done? This would hopefully avoid > > merge conflicts between these patches. > > > > I have to still re-spin my fs sysctl stuff, but will wait to do that > > once Xiaoming bases his series on linux-next. > > Yeah, totally. I don't technically have a sysctl tree (I've always just > had akpm take stuff), so go for it. I'm just doing reviews. :) Oh, I don't want a tree either, it was just that I can imagine these series can easily create conflcits, so I wanted to avoid that before passing them on to Andrew. Luis