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 * ----------------------------------------------------------------------------
9 * $FreeBSD: src/sys/sys/jail.h,v 1.8.2.2 2000/11/01 17:58:06 rwatson Exp $
10 * $DragonFly: src/sys/sys/jail.h,v 1.4 2005/01/14 02:25:08 joerg Exp $
17 #include <sys/varsym.h>
28 int jail (struct jail *);
33 MALLOC_DECLARE(M_PRISON);
37 * This structure describes a prison. It is pointed to by all struct
38 * proc's of the inmates. pr_ref keeps track of them and is used to
39 * delete the struture when the last inmate is dead.
44 char pr_host[MAXHOSTNAMELEN];
47 struct varsymset pr_varsymset;
51 * Sysctl-set variables that determine global jail policy
53 extern int jail_set_hostname_allowed;
54 extern int jail_socket_unixiproute_only;
55 extern int jail_sysvipc_allowed;
58 #endif /* !_SYS_JAIL_H_ */