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.3 2003/08/20 07:31:21 rob Exp $
26 int jail (struct jail *);
31 MALLOC_DECLARE(M_PRISON);
35 * This structure describes a prison. It is pointed to by all struct
36 * proc's of the inmates. pr_ref keeps track of them and is used to
37 * delete the struture when the last inmate is dead.
42 char pr_host[MAXHOSTNAMELEN];
48 * Sysctl-set variables that determine global jail policy
50 extern int jail_set_hostname_allowed;
51 extern int jail_socket_unixiproute_only;
52 extern int jail_sysvipc_allowed;
55 #endif /* !_SYS_JAIL_H_ */