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

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


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 27 Mar 2006 01:02:07 -0800 (PST)

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
  
  "I want an easy way to reboot a jail" -- drhodus@
  That's the base, let's see who implements the rest.
  
  MFC: 2006/04/03
  
  Revision  Changes    Path
  1.22      +2 -1      src/bin/ps/keyword.c
  1.8       +2 -0      src/bin/ps/ps.1
  1.23      +2 -0      src/sys/kern/kern_proc.c
  1.13      +2 -1      src/sys/sys/user.h
  1.4       +4 -0      src/usr.bin/killall/killall.1
  1.8       +45 -24    src/usr.bin/killall/killall.c


http://www.dragonflybsd.org/cvsweb/src/bin/ps/keyword.c.diff?r1=1.21&r2=1.22&f=u
http://www.dragonflybsd.org/cvsweb/src/bin/ps/ps.1.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_proc.c.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/user.h.diff?r1=1.12&r2=1.13&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/killall/killall.1.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.bin/killall/killall.c.diff?r1=1.7&r2=1.8&f=u



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