Date: Sat, 6 Jun 2009 16:37:32 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 163655 for review Message-ID: <200906061637.n56GbWJW028399@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=163655 Change 163655 by rwatson@rwatson_freebsd_capabilities on 2009/06/06 16:36:49 Include opt_procdesc.h to conditionally implement reporting of process descriptors to procstat. Affected files ... .. //depot/projects/trustedbsd/capabilities/src/sys/kern/kern_descrip.c#21 edit Differences ... ==== //depot/projects/trustedbsd/capabilities/src/sys/kern/kern_descrip.c#21 (text+ko) ==== @@ -40,6 +40,7 @@ #include "opt_compat.h" #include "opt_ddb.h" #include "opt_ktrace.h" +#include "opt_procdesc.h" #include <sys/param.h> #include <sys/systm.h> @@ -3118,10 +3119,12 @@ tp = fp->f_data; break; +#ifdef PROCDESC case DTYPE_PROCDESC: kif->kf_type = KF_TYPE_PROCDESC; kif->kf_pid = procdesc_pid(fp); break; +#endif default: kif->kf_type = KF_TYPE_UNKNOWN;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906061637.n56GbWJW028399>