1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/usr.bin/pkill
Pawel Jakub Dawidek d054f5d7cd - 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
2005-03-20 11:30:26 +00:00
..
Makefile Removed bitrot. 2004-11-13 17:12:22 +00:00
pkill.1 - Introduce '-S' option which allows to match system processes (pgrep only). 2005-03-20 11:30:26 +00:00
pkill.c - Introduce '-S' option which allows to match system processes (pgrep only). 2005-03-20 11:30:26 +00:00