]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Change the proc information returned from the kernel so that it
authormckusick <mckusick@FreeBSD.org>
Tue, 12 Dec 2000 07:25:57 +0000 (07:25 +0000)
committermckusick <mckusick@FreeBSD.org>
Tue, 12 Dec 2000 07:25:57 +0000 (07:25 +0000)
commitcba301121bc106aaff382428a55f31fef30844e6
tree910e5652e5d16d5d0d4e8480f7e386aaf0ca310e
parentd577ae457b219ac16b4e152a40ae4d7474c4622f
Change the proc information returned from the kernel so that it
no longer contains kernel specific data structures, but rather
only scalar values and structures that are already part of the
kernel/user interface, specifically rusage and rtprio. It no
longer contains proc, session, pcred, ucred, procsig, vmspace,
pstats, mtx, sigiolst, klist, callout, pasleep, or mdproc. If
any of these changed in size, ps, w, fstat, gcore, systat, and
top would all stop working. The new structure has over 200 bytes
of unassigned space for future values to be added, yet is nearly
100 bytes smaller per entry than the structure that it replaced.
19 files changed:
bin/ps/extern.h
bin/ps/keyword.c
bin/ps/print.c
bin/ps/ps.c
bin/ps/ps.h
lib/libkvm/kvm.h
lib/libkvm/kvm_proc.c
sys/kern/imgact_aout.c
sys/kern/kern_proc.c
sys/kern/sys_process.c
sys/sys/user.h
usr.bin/fstat/fstat.c
usr.bin/gcore/aoutcore.c
usr.bin/gcore/gcore.c
usr.bin/systat/pigs.c
usr.bin/top/machine.c
usr.bin/w/extern.h
usr.bin/w/proc_compare.c
usr.bin/w/w.c