kern_jail.c (105354) | kern_jail.c (107850) |
---|---|
1/* 2 * ---------------------------------------------------------------------------- 3 * "THE BEER-WARE LICENSE" (Revision 42): 4 * <phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you 5 * can do whatever you want with this stuff. If we meet some day, and you think 6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 7 * ---------------------------------------------------------------------------- 8 * | 1/* 2 * ---------------------------------------------------------------------------- 3 * "THE BEER-WARE LICENSE" (Revision 42): 4 * <phk@FreeBSD.ORG> wrote this file. As long as you retain this notice you 5 * can do whatever you want with this stuff. If we meet some day, and you think 6 * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp 7 * ---------------------------------------------------------------------------- 8 * |
9 * $FreeBSD: head/sys/kern/kern_jail.c 105354 2002-10-17 20:03:38Z robert $ | 9 * $FreeBSD: head/sys/kern/kern_jail.c 107850 2002-12-14 02:07:32Z alfred $ |
10 * 11 */ 12 13#include <sys/param.h> 14#include <sys/types.h> 15#include <sys/kernel.h> 16#include <sys/systm.h> 17#include <sys/errno.h> --- 33 unchanged lines hidden (view full) --- 51 52/* 53 * MPSAFE 54 */ 55int 56jail(td, uap) 57 struct thread *td; 58 struct jail_args /* { | 10 * 11 */ 12 13#include <sys/param.h> 14#include <sys/types.h> 15#include <sys/kernel.h> 16#include <sys/systm.h> 17#include <sys/errno.h> --- 33 unchanged lines hidden (view full) --- 51 52/* 53 * MPSAFE 54 */ 55int 56jail(td, uap) 57 struct thread *td; 58 struct jail_args /* { |
59 syscallarg(struct jail *) jail; | 59 struct jail *jail; |
60 } */ *uap; 61{ 62 struct proc *p = td->td_proc; 63 int error; 64 struct prison *pr; 65 struct jail j; 66 struct chroot_args ca; 67 struct ucred *newcred = NULL, *oldcred; --- 190 unchanged lines hidden --- | 60 } */ *uap; 61{ 62 struct proc *p = td->td_proc; 63 int error; 64 struct prison *pr; 65 struct jail j; 66 struct chroot_args ca; 67 struct ucred *newcred = NULL, *oldcred; --- 190 unchanged lines hidden --- |