K 10 svn:author V 7 trociny K 8 svn:date V 27 2011-12-17T16:59:22.565665Z K 7 svn:log V 368 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 END