Date: Tue, 8 Apr 2003 19:55:18 -0700 (PDT) From: Mike Barcroft <mike@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/sys Makefile.inc jail.2 src/sys/kern kern_jail.c subr_witness.c syscalls.master vfs_syscalls.c src/sys/ia64/ia32 syscalls.master src/sys/sys jail.h Message-ID: <200304090255.h392tJUw026345@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mike 2003/04/08 19:55:18 PDT FreeBSD src repository Modified files: lib/libc/sys Makefile.inc jail.2 sys/kern kern_jail.c subr_witness.c syscalls.master vfs_syscalls.c sys/ia64/ia32 syscalls.master sys/sys jail.h Log: o In struct prison, add an allprison linked list of prisons (protected by allprison_mtx), a unique prison/jail identifier field, two path fields (pr_path for reporting and pr_root vnode instance) to store the chroot() point of each jail. o Add jail_attach(2) to allow a process to bind to an existing jail. o Add change_root() to perform the chroot operation on a specified vnode. o Generalize change_dir() to accept a vnode, and move namei() calls to callers of change_dir(). o Add a new sysctl (security.jail.list) which is a group of struct xprison instances that represent a snapshot of active jails. Reviewed by: rwatson, tjr Revision Changes Path 1.101 +1 -0 src/lib/libc/sys/Makefile.inc 1.23 +29 -3 src/lib/libc/sys/jail.2 1.19 +1 -0 src/sys/ia64/ia32/syscalls.master 1.31 +218 -20 src/sys/kern/kern_jail.c 1.151 +1 -0 src/sys/kern/subr_witness.c 1.149 +1 -0 src/sys/kern/syscalls.master 1.312 +65 -44 src/sys/kern/vfs_syscalls.c 1.18 +20 -0 src/sys/sys/jail.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304090255.h392tJUw026345>