Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2009 13:46:53 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 156857 for review
Message-ID:  <200901291346.n0TDkrJP076898@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=156857

Change 156857 by rwatson@rwatson_freebsd_capabilities on 2009/01/29 13:46:23

	Print [zombie] rather than [unknown] when ^T is pressed and a zombie
	process is the one we're giving information on.

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/sys/kern/tty_info.c#3 edit

Differences ...

==== //depot/projects/trustedbsd/capabilities/src/sys/kern/tty_info.c#3 (text+ko) ====

@@ -285,6 +285,8 @@
 		state = "suspended";
 	else if (TD_AWAITING_INTR(td))
 		state = "intrwait";
+	else if (pick->p_state == PRS_ZOMBIE)
+		state = "zombie";
 	else
 		state = "unknown";
 	pctcpu = (sched_pctcpu(td) * 10000 + FSCALE / 2) >> FSHIFT;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901291346.n0TDkrJP076898>