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

cvs commit: src/lib/libc/sys Makefile.inc jail.2 jail_attach.2 src/sys/kern kern_fork.c kern_jail.c kern_prot.c src/sys/sys jail.h kinfo.h src/usr.sbin Makefile src/usr.sbin/jexec Makefile jexec.8 jexec.c src/usr.sbin/jls Makefile jls.8 jls.c


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Jan 2005 14:29:59 -0800 (PST)

joerg       2005/01/31 14:29:59 PST

DragonFly src repository

  Modified files:
    lib/libc/sys         Makefile.inc jail.2 
    sys/kern             kern_fork.c kern_jail.c kern_prot.c 
    sys/sys              jail.h kinfo.h 
    usr.sbin             Makefile 
  Added files:
    lib/libc/sys         jail_attach.2 
    usr.sbin/jexec       Makefile jexec.8 jexec.c 
    usr.sbin/jls         Makefile jls.8 jls.c 
  Log:
  Add jail_attach support.
  
  Inspired-by: FreeBSD
  Manpage-by: Paul Herman
  
  Add sysctl jail.list and jailed() helper functions.
  
  Obtained-from: FreeBSD
  
  Add jexec and jls.
  
  Obtained-from: FreeBSD
  
  Move reference counting into prison_hold / prison_free functions.
  Fix an incorrect increment in fork1, the prison structure is not
  directly copied and the cr reference counting applies to prison here
  too. Begin moving explicit pointer checks for cr_prison != NULL
  to the new jailed() function. Move the sys/varsym.h include in
  sys/jail.h to the kernel part. Prepare for jail-local securelevel.
  
  Revision  Changes    Path
  1.8       +1 -1      src/lib/libc/sys/Makefile.inc
  1.3       +18 -8     src/lib/libc/sys/jail.2
  1.32      +1 -3      src/sys/kern/kern_fork.c
  1.7       +183 -17   src/sys/kern/kern_jail.c
  1.20      +8 -12     src/sys/kern/kern_prot.c
  1.5       +29 -10    src/sys/sys/jail.h
  1.3       +9 -0      src/sys/sys/kinfo.h
  1.19      +2 -0      src/usr.sbin/Makefile


http://www.dragonflybsd.org/cvsweb/src/lib/libc/sys/Makefile.inc.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/sys/jail.2.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_fork.c.diff?r1=1.31&r2=1.32&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_jail.c.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_prot.c.diff?r1=1.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/jail.h.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/kinfo.h.diff?r1=1.2&r2=1.3&f=u
http://www.dragonflybsd.org/cvsweb/src/usr.sbin/Makefile.diff?r1=1.18&r2=1.19&f=u



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