aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/freebsd32/freebsd32.h
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2013-08-26 23:48:21 +0000
committerWill Andrews <will@FreeBSD.org>2013-08-26 23:48:21 +0000
commit5e9ccc879795617e4a4ef62fe9c8d41812d74732 (patch)
treef82f67cc875d4d29e153a4dc547c3ccbc1a22f38 /sys/compat/freebsd32/freebsd32.h
parente44da61e69f520e8a0b72e1107375e1259adc45f (diff)
downloadsrc-5e9ccc879795617e4a4ef62fe9c8d41812d74732.tar.gz
src-5e9ccc879795617e4a4ef62fe9c8d41812d74732.zip
Add the ability to display the default FIB number for a process to the
ps(1) utility, e.g. "ps -O fib". bin/ps/keyword.c: Add the "fib" keyword and default its column name to "FIB". bin/ps/ps.1: Add "fib" as a supported keyword. sys/compat/freebsd32/freebsd32.h: sys/kern/kern_proc.c: sys/sys/user.h: Add the default fib number for a process (p->p_fibnum) to the user land accessible process data of struct kinfo_proc. Submitted by: Oliver Fromme <olli@fromme.com>, gibbs
Notes
Notes: svn path=/head/; revision=254943
Diffstat (limited to 'sys/compat/freebsd32/freebsd32.h')
-rw-r--r--sys/compat/freebsd32/freebsd32.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/compat/freebsd32/freebsd32.h b/sys/compat/freebsd32/freebsd32.h
index 9b04965e2d9a..aa08432dc61c 100644
--- a/sys/compat/freebsd32/freebsd32.h
+++ b/sys/compat/freebsd32/freebsd32.h
@@ -342,6 +342,7 @@ struct kinfo_proc32 {
char ki_loginclass[LOGINCLASSLEN+1];
char ki_sparestrings[50];
int ki_spareints[KI_NSPARE_INT];
+ int ki_fibnum;
u_int ki_cr_flags;
int ki_jid;
int ki_numthreads;