Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp1361841ybs; Mon, 25 May 2020 14:06:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwidYsASuaC6+fCzLEdwgbmyaJuAfsd4RI2TCNQExmuco5CiHWtzr2+QasA1UuB+uK1GHL/ X-Received: by 2002:a17:906:404a:: with SMTP id y10mr19116022ejj.130.1590440815619; Mon, 25 May 2020 14:06:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590440815; cv=none; d=google.com; s=arc-20160816; b=GzgwOh2JyS99WR3TlXYOXRrRLYg5TejW/t7whq1uIHcTK9WuNd3Jy6F5giV/LIq19L eDnIRo/933KejxoGLZlUfQW6iotPLMBbF8QZ0g/KnkShh71c57NWnQ7GqWaAauptQKqV X8tlACk19WbRMRA+TyxcK5WvR9TBJYBePyYEJe/x0LAwBGlVFkCICAIJYVvLVfUNkOnq fqQrU/RIscSc1zjqra8spYm28OjwJec2NkASfRCJkCs/M3g4gznptbsmXAQGdWkAur7f 1ekT8m/L8XqgVbf3wXIjDX205zsdG4siEVTkR1c6Mpj80hUaS/xtYrl4PjldOGEg2vgV GQJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=VzgGEy/umPBD6bKjQlco8wO3v63qLGKaTHlIpKlClfw=; b=FQ6ZVjZXDiwSswE/5xswMFTGFoUuzecup40bhuvQx3WDrz1efQXUz94nWbCxT7yafp D1kO3TRITqSHsW/GWy7N+/eUYiISQN4v2hKCxeeULR3gZyiiw3nWsus7/K7DPW/T37rH O4khzEzpLig499WRwpvFlVio4DHpswvK9dH2hioO4AsxmGCLxljLTPY25YxbCz9ITDAu 6VzZzZWKugFnJSlEv2gCz3/fsv+9rfZoNpjgPeXtB8noyyepMjgStWPnWYZMVpPgbhSP 2relO8oY40IpQuy2TBTETkE5+4R5+IcBB6mqmDPiMGiMwL1938tHSAW3Zr9T8N232GkG DcFg== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bo18si9722092edb.450.2020.05.25.14.06.32; Mon, 25 May 2020 14:06:55 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731479AbgEYQaG (ORCPT + 99 others); Mon, 25 May 2020 12:30:06 -0400 Received: from ms.lwn.net ([45.79.88.28]:60786 "EHLO ms.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731458AbgEYQaG (ORCPT ); Mon, 25 May 2020 12:30:06 -0400 Received: from lwn.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id DF4A04A2; Mon, 25 May 2020 16:30:05 +0000 (UTC) Date: Mon, 25 May 2020 10:30:04 -0600 From: Jonathan Corbet To: Stephen Kitt Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] docs: sysctl/kernel: document ngroups_max Message-ID: <20200525103004.71372d36@lwn.net> In-Reply-To: <20200518145836.15816-1-steve@sk2.org> References: <20200518145836.15816-1-steve@sk2.org> Organization: LWN.net MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 18 May 2020 16:58:36 +0200 Stephen Kitt wrote: > This is a read-only export of NGROUPS_MAX. > > Signed-off-by: Stephen Kitt > --- > Changes since v1: > - drop changes to kernel/sysctl.c > > Documentation/admin-guide/sysctl/kernel.rst | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/Documentation/admin-guide/sysctl/kernel.rst b/Documentation/admin-guide/sysctl/kernel.rst > index 0d427fd10941..5f12ee07665c 100644 > --- a/Documentation/admin-guide/sysctl/kernel.rst > +++ b/Documentation/admin-guide/sysctl/kernel.rst > @@ -459,6 +459,15 @@ Notes: > successful IPC object allocation. If an IPC object allocation syscall > fails, it is undefined if the value remains unmodified or is reset to -1. > > + > +ngroups_max > +=========== > + > +Maximum number of supplementary groups, _i.e._ the maximum size which > +``setgroups`` will accept. Exports ``NGROUPS_MAX`` from the kernel. Applied, thanks. jon