Juli Mallett b241b0a239 Since p_cansee will end up dereferencing p_ucred, don't check for p_ucred
equal to NULL several times later.  p_ucred "should probably not" be NULL
if the process isn't PRS_NEW anyway.  This is strongly reinforced by the fact
that we don't see frequent crashes here.  Remove the checks after p_cansee and
add a KASSERT right before it.

Found by:	Coverity Prevent (tm)

Also trim one nearby trailing space.
2006-01-17 20:25:01 +00:00
..
2005-10-03 06:57:29 +00:00
2005-12-23 21:32:40 +00:00
2005-12-30 11:45:07 +00:00
2005-12-04 02:12:43 +00:00
2005-12-28 17:13:31 +00:00
2005-12-09 02:27:55 +00:00
2005-11-17 08:56:21 +00:00
2005-03-14 06:51:29 +00:00
2005-12-23 11:54:11 +00:00
2006-01-04 07:50:54 +00:00
2006-01-04 07:50:54 +00:00