Date: Sun, 20 Mar 2005 11:30:26 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/pkill pkill.1 pkill.c Message-ID: <200503201130.j2KBUQr3000876@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
pjd 2005-03-20 11:30:26 UTC FreeBSD src repository Modified files: usr.bin/pkill pkill.1 pkill.c Log: - 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 Revision Changes Path 1.13 +3 -1 src/usr.bin/pkill/pkill.1 1.24 +18 -20 src/usr.bin/pkill/pkill.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503201130.j2KBUQr3000876>