]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Merge kern_descrip.c:1.314, kern_proc.c:1.256, sysctl.h:1.153,
authorrwatson <rwatson@FreeBSD.org>
Thu, 10 Apr 2008 20:54:01 +0000 (20:54 +0000)
committerrwatson <rwatson@FreeBSD.org>
Thu, 10 Apr 2008 20:54:01 +0000 (20:54 +0000)
commit9be8410be1950146fe071ef9680d4a8c69258a81
treea893ce90572da4b2dea467d39055b4cb29f22e75
parent999908736ff09f2b7dba6ca5158607439ac00193
Merge kern_descrip.c:1.314, kern_proc.c:1.256, sysctl.h:1.153,
user.h:1.71 from HEAD to RELENG_7:

  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.
sys/kern/kern_descrip.c
sys/kern/kern_proc.c
sys/sys/sysctl.h
sys/sys/user.h