From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DEE00C433E1 for ; Fri, 15 May 2020 16:07:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B156720709 for ; Fri, 15 May 2020 16:07:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="fMD+L8NK" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726374AbgEOQHS (ORCPT ); Fri, 15 May 2020 12:07:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726293AbgEOQHS (ORCPT ); Fri, 15 May 2020 12:07:18 -0400 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B79EC05BD09 for ; Fri, 15 May 2020 09:07:18 -0700 (PDT) Received: by mail-pl1-x644.google.com with SMTP id q16so1054082plr.2 for ; Fri, 15 May 2020 09:07:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=9lk2egJhzBkTB4zC9tb4jrnU8imm78/hX23YMPbVKfQ=; b=fMD+L8NK8FKpFxTEhw1RZGtfsQxfPUv7B+Cvvd8a8BlgkrWgF87cXb+NZpK1O8och0 XfqnfqEUkeLwHJF3tPhtEJtOyH2omo6rlv/aoGUWv9vxAoj2eMmpUfZQsHnGfZP656mJ 1uajo5Tr49Z0sLUbnHVBXmOg/cxIn/PaW/9Qk= 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; bh=9lk2egJhzBkTB4zC9tb4jrnU8imm78/hX23YMPbVKfQ=; b=WeGGyxm6aGVNMCqvaoprZ0BWZCbBViM7JtiEjb3rddf11ssSiylyHCYPknCj4yYAqa Tiy445wx4WR5CGdJGikCOojIsWgtKpE/3rU02PWTm61JKFovaFKtOwT4kQ6O9+Mgoi4k ZkYuSUeb1/QZlr2Zg+Izt3WQ2Up0LwbDNoETlOzDxecEMnpIEUw0LMG1ErzbWqJyyXMa 2yASS2pKqE8X2CXjhGS37kc7KphD8k8x3DEbMBbMeKuFoCwr8JGCvim55c/4RMcvwLts SHQyoWEvEUfkXXgHpeQOoo+J9GVe9FTVmzLqzWzhaFJlvpyOEI9zx2onU5o7f6zvitbd 8MZg== X-Gm-Message-State: AOAM533ZkBgy7+eh5hGRSaw/eyTM0RJFfGcVkVcpn5ojEb7SkqL47slJ tlBQtwg2gF5ttdw+eRG7f7nPJA== X-Google-Smtp-Source: ABdhPJy+0aSyniv8UGid5FsroMuBxpp31zjBJlhwWHhAQ+52X1FGJutpZXlwTXeZA8S/KPWONU3yig== X-Received: by 2002:a17:902:b945:: with SMTP id h5mr4328601pls.224.1589558837461; Fri, 15 May 2020 09:07:17 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id d184sm2233645pfc.130.2020.05.15.09.07.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 May 2020 09:07:16 -0700 (PDT) Date: Fri, 15 May 2020 09:07:15 -0700 From: Kees Cook To: Stephen Kitt Cc: Jonathan Corbet , Luis Chamberlain , Iurii Zaikin , linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] docs: sysctl/kernel: document ngroups_max Message-ID: <202005150907.9C685E5FD@keescook> References: <20200515160222.7994-1-steve@sk2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200515160222.7994-1-steve@sk2.org> Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org On Fri, May 15, 2020 at 06:02:22PM +0200, Stephen Kitt wrote: > This is a read-only export of NGROUPS_MAX, so this patch also changes > the declarations in kernel/sysctl.c to const. > > Signed-off-by: Stephen Kitt Reviewed-by: Kees Cook -- Kees Cook