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

Joerg Sonnenberger joerg at
Sat Apr 8 10:20:26 PDT 2006

joerg       2006/04/08 10:15:12 PDT

DragonFly src repository

  Modified files:        (Branch: DragonFly_RELEASE_1_4)
    sys/kern             kern_proc.c 
    sys/sys              user.h 
    bin/ps               keyword.c ps.1 
    usr.bin/killall      killall.1 killall.c 
  MFC improved jail support:
    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.
    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
  Revision  Changes    Path  +2 -0      src/sys/kern/kern_proc.c  +3 -2      src/sys/sys/user.h  +2 -1      src/bin/ps/keyword.c   +2 -0      src/bin/ps/ps.1   +4 -0      src/usr.bin/killall/killall.1   +45 -24    src/usr.bin/killall/killall.c

More information about the Commits mailing list