From owner-cvs-src-old@FreeBSD.ORG Fri Jul 24 19:14:49 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 384BB106570C for ; Fri, 24 Jul 2009 19:14:49 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 22CD38FC08 for ; Fri, 24 Jul 2009 19:14:49 +0000 (UTC) (envelope-from brooks@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n6OJEnWV058396 for ; Fri, 24 Jul 2009 19:14:49 GMT (envelope-from brooks@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n6OJEnG4058395 for cvs-src-old@freebsd.org; Fri, 24 Jul 2009 19:14:49 GMT (envelope-from brooks@repoman.freebsd.org) Message-Id: <200907241914.n6OJEnG4058395@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to brooks@repoman.freebsd.org using -f From: Brooks Davis Date: Fri, 24 Jul 2009 19:12:19 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_proc.c src/sys/sys sysctl.h src/usr.bin/procstat procstat_cred.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jul 2009 19:14:50 -0000 brooks 2009-07-24 19:12:19 UTC FreeBSD src repository Modified files: sys/kern kern_proc.c sys/sys sysctl.h usr.bin/procstat procstat_cred.c Log: SVN rev 195853 on 2009-07-24 19:12:19Z by brooks Introduce a new sysctl process mib, kern.proc.groups which adds the ability to retrieve the group list of each process. Modify procstat's -s option to query this mib when the kinfo_proc reports that the field has been truncated. If the mib does not exist, fall back to the truncated list. Reviewed by: rwatson Approved by: re (kib) MFC after: 2 weeks Revision Changes Path 1.285 +40 -0 src/sys/kern/kern_proc.c 1.176 +1 -0 src/sys/sys/sysctl.h 1.4 +40 -2 src/usr.bin/procstat/procstat_cred.c