svn commit: r201358 - in projects/ngroups/sys: fs/procfs sys

Brooks Davis brooks at FreeBSD.org
Thu Dec 31 23:52:20 UTC 2009


Author: brooks
Date: Thu Dec 31 23:52:19 2009
New Revision: 201358
URL: http://svn.freebsd.org/changeset/base/201358

Log:
  Remove a couple comment references to NGROUPS/NGROUPS_MAX.

Modified:
  projects/ngroups/sys/fs/procfs/procfs_status.c
  projects/ngroups/sys/sys/socket.h

Modified: projects/ngroups/sys/fs/procfs/procfs_status.c
==============================================================================
--- projects/ngroups/sys/fs/procfs/procfs_status.c	Thu Dec 31 23:50:45 2009	(r201357)
+++ projects/ngroups/sys/fs/procfs/procfs_status.c	Thu Dec 31 23:52:19 2009	(r201358)
@@ -82,7 +82,7 @@ procfs_doprocstatus(PFS_FILL_ARGS)
 	sid = sess->s_leader ? sess->s_leader->p_pid : 0;
 
 /* comm pid ppid pgid sid tty ctty,sldr start ut st wmsg
-				euid ruid rgid,egid,groups[1 .. NGROUPS]
+				euid ruid rgid,egid,groups[1 ...]
 */
 
 	pc = p->p_comm;

Modified: projects/ngroups/sys/sys/socket.h
==============================================================================
--- projects/ngroups/sys/sys/socket.h	Thu Dec 31 23:50:45 2009	(r201357)
+++ projects/ngroups/sys/sys/socket.h	Thu Dec 31 23:52:19 2009	(r201358)
@@ -462,8 +462,7 @@ struct cmsghdr {
 #if __BSD_VISIBLE
 /*
  * While we may have more groups than this, the cmsgcred struct must
- * be able to fit in an mbuf, and NGROUPS_MAX is too large to allow
- * this.
+ * be able to fit in an mbuf.
 */
 #define CMGROUP_MAX 16
 


More information about the svn-src-projects mailing list