cvs commit: src/sys/kern kern_descrip.c kern_proc.c src/sys/sys sysctl.h user.h

Robert Watson rwatson at FreeBSD.org
Sun Dec 2 02:10:28 PST 2007


rwatson     2007-12-02 10:10:27 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_descrip.c kern_proc.c 
    sys/sys              sysctl.h user.h 
  Log:
  Add two new sysctls in support of the forthcoming procstat(1) to support
  its -f and -v arguments:
  
  kern.proc.filedesc - dump file descriptor information for a process, if
    debugging is permitted, including socket addresses, open flags, file
    offsets, file paths, etc.
  
  kern.proc.vmmap - dump virtual memory mapping information for a process,
    if debugging is permitted, including layout and information on
    underlying objects, such as the type of object and path.
  
  These provide a superset of the information historically available
  through the now-deprecated procfs(4), and are intended to be exported
  in an ABI-robust form.
  
  Revision  Changes    Path
  1.314     +180 -1    src/sys/kern/kern_descrip.c
  1.256     +159 -1    src/sys/kern/kern_proc.c
  1.153     +3 -0      src/sys/sys/sysctl.h
  1.71      +92 -1     src/sys/sys/user.h


More information about the cvs-src mailing list