cvs commit: src/lib/libkvm kvm_proc.c

Garance A Drosehn gad at FreeBSD.org
Sat Jun 19 07:08:11 PDT 2004


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


More information about the cvs-src mailing list