From owner-cvs-all@FreeBSD.ORG Sat Jun 19 14:08:11 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5172516A4CE; Sat, 19 Jun 2004 14:08:11 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B13C43D2F; Sat, 19 Jun 2004 14:08:11 +0000 (GMT) (envelope-from gad@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.11/8.12.11) with ESMTP id i5JE8Bg6002025; Sat, 19 Jun 2004 14:08:11 GMT (envelope-from gad@repoman.freebsd.org) Received: (from gad@localhost) by repoman.freebsd.org (8.12.11/8.12.11/Submit) id i5JE8BDi002024; Sat, 19 Jun 2004 14:08:11 GMT (envelope-from gad) Message-Id: <200406191408.i5JE8BDi002024@repoman.freebsd.org> From: Garance A Drosehn Date: Sat, 19 Jun 2004 14:08:11 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libkvm kvm_proc.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Jun 2004 14:08:11 -0000 gad 2004-06-19 14:08:11 UTC FreeBSD src repository Modified files: lib/libkvm kvm_proc.c Log: Fill in the some new fields 'struct kinfo_proc', namely ki_childstime, ki_childutime, and ki_emul. Also uses the timeradd() macro to correct the calculation of ki_childtime. That will correct the value returned when ki_childtime.tv_usec > 1,000,000. This also implements a new KERN_PROC_GID option for kvm_getprocs(). It also implements the KERN_PROC_RGID and KERN_PROC_SESSION options which were added to sys/kern/kern_proc.c revision 1.203. PR: bin/65803 (a very tiny piece of the PR) Submitted by: Cyrille Lefevre Revision Changes Path 1.76 +29 -5 src/lib/libkvm/kvm_proc.c