kern/39681: [sysctl] [patch] add hidden kernel boot tunables to sysctl as read-only mib

Jaakko Heinonen jh at FreeBSD.org
Thu Oct 21 13:20:08 UTC 2010


The following reply was made to PR kern/39681; it has been noted by GNATS.

From: Jaakko Heinonen <jh at FreeBSD.org>
To: Cyrille Lefevre <cyrille.lefevre at laposte.net>
Cc: bug-followup at FreeBSD.org
Subject: Re: kern/39681: [sysctl] [patch] add hidden kernel boot tunables to
 sysctl as read-only mib
Date: Thu, 21 Oct 2010 16:12:43 +0300

 On 2010-10-21, Cyrille Lefevre wrote:
 > may be closed, except that ngroups_max seems to be missing a mib
 > registration such as :
 > 
 > SYSCTL_INT(_kern, OID_AUTO, ngroups, CTLFLAG_RDTUN, &ngroups_max, 0,
 >     "Max number groups per process");
 
 It already exists in sys/kern/kern_mib.c in head and stable/8:
 
    127	SYSCTL_INT(_kern, KERN_NGROUPS, ngroups, CTLFLAG_RDTUN,
    128	    &ngroups_max, 0,
    129	    "Maximum number of supplemental groups a user can belong to");
 
 -- 
 Jaakko


More information about the freebsd-bugs mailing list