DragonFly BSD
DragonFly commits List (threaded) for 2012-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: pkill(1): add '-j jid' flag to restrict matches to jailed processes.


From: Chris Turner <cat@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 10 Mar 2012 03:43:51 -0800 (PST)

commit 54499c336ab52f8d78c5458ee392b0cfb5431bd0
Author: Chris Turner <c.turner@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]