cvs commit: src/bin/ps keyword.c ps.1 src/sys/kern kern_proc.c src/sys/sys user.h src/usr.bin/killall killall.1 killall.c

Michal Belczyk belczyk at bsd.krakow.pl
Mon Mar 27 02:09:25 PST 2006


On Mon, Mar 27, 2006 at 01:02:07AM -0800, Joerg Sonnenberger wrote:
> joerg       2006/03/27 01:02:07 PST
> 
> DragonFly src repository
> 
>   Modified files:
>     bin/ps               keyword.c ps.1 
>     sys/kern             kern_proc.c 
>     sys/sys              user.h 
>     usr.bin/killall      killall.1 killall.c 
>   Log:
>   Be more jail friendly:
>   - export jail id to userland, since sysctl users can't follow the prison
>     pointer in ucred. this is backward-compatible in the sense that an old
>     kernel does export "0" for all processes.
>   - teach ps(1) "jail" as formating keyword, fix a separate issue with
>     lastcpu being incorrectly sorting and using the wrong formator
>   - teach killall(8) a new -j option, to select processes in a jail.
>     make it skip the inner matching loop (for commands), if no argument
>     is left to process

Thanks!

>   "I want an easy way to reboot a jail" -- drhodus@

I simply kill -HUP kjailer's pid for that purpose.  In case anyone is
interested, it's here: http://bsd.krakow.pl/kjailer.tbz.


-- 
Michal Belczyk





More information about the Commits mailing list