trociny fe0982e586 On start most of sysctl_kern_proc functions use the same pattern:
locate a process calling pfind() and do some additional checks like
p_candebug(). To reduce this code duplication a new function pget() is
introduced and used.

As the function may be useful not only in kern_proc.c it is in the
kernel name space.

Suggested by:	kib
Reviewed by:	kib
MFC after:	2 weeks
2011-12-17 16:59:22 +00:00
..
2011-11-11 04:13:47 +00:00
2011-12-05 10:34:52 +00:00
2011-04-13 11:28:46 +00:00
MFC
2011-05-31 21:22:44 +00:00
2011-11-06 08:10:41 +00:00
2010-11-25 20:05:11 +00:00
2011-07-10 00:53:04 +00:00
MFC
2011-06-01 16:54:33 +00:00
2011-12-15 15:17:19 +00:00