K 10 svn:author V 3 pjd K 8 svn:date V 27 2005-03-20T11:30:26.000000Z K 7 svn:log V 586 - Introduce '-S' option which allows to match system processes (pgrep only). - Rename IS_KERNPROC() macro to PSKIP() and extend its functionality. Now it'll skip calling process and system processes when -S is not given. As a side effect it fixes '-n' option. Before it was always matching calling process (because of missing 'if (kp->ki_pid == mypid)' check) and after that, calling process was ignored. - When '-l' option is given and there are no arguments, use p_comm as an arguments list (this is helpful for kernel threads matching). Reviewed by: gad MFC after: 3 days END