git: pkill(1): add '-j jid' flag to restrict matches to jailed processes.
Chris Turner
cat at crater.dragonflybsd.org
Sat Mar 10 03:43:51 PST 2012
commit 54499c336ab52f8d78c5458ee392b0cfb5431bd0
Author: Chris Turner <c.turner at 199technologies.com>
Date: Sat Mar 10 11:37:48 2012 +0000
pkill(1): add '-j jid' flag to restrict matches to jailed processes.
Add a '-j' option to pgrep(1)/pkill(1).
Update manual page to reflect usage.
As DragonFlyBSD did not have this option previously, the 'COMPATIBILITY'
notes outlined in FreeBSD's '-j' options do not apply - namely,
the '-j 0' option defaults to non-jailed processes, and '-1' is used
to indicate all jailed processes should be matched. Also, the 'any'/'none'
string options were not ported as they require more invasive changes.
Inspired-by: FreeBSD
Summary of changes:
usr.bin/pkill/pkill.1 | 12 ++++++++++++
usr.bin/pkill/pkill.c | 36 ++++++++++++++++++++++++++++++++----
2 files changed, 44 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/54499c336ab52f8d78c5458ee392b0cfb5431bd0
--
DragonFly BSD source repository
More information about the Commits
mailing list