Deleted Added
full compact
jail.2 (231236) jail.2 (231564)
1.\" Copyright (c) 1999 Poul-Henning Kamp.
2.\" Copyright (c) 2009 James Gritton.
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
1.\" Copyright (c) 1999 Poul-Henning Kamp.
2.\" Copyright (c) 2009 James Gritton.
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
26.\" $FreeBSD: head/lib/libc/sys/jail.2 231236 2012-02-08 23:34:47Z jamie $
26.\" $FreeBSD: head/lib/libc/sys/jail.2 231564 2012-02-12 18:29:56Z ed $
27.\"
28.Dd February 8, 2012
29.Dt JAIL 2
30.Os
31.Sh NAME
32.Nm jail ,
33.Nm jail_get ,
34.Nm jail_set ,

--- 19 unchanged lines hidden (view full) ---

54.Sh DESCRIPTION
55The
56.Fn jail
57system call sets up a jail and locks the current process in it.
58.Pp
59The argument is a pointer to a structure describing the prison:
60.Bd -literal -offset indent
61struct jail {
27.\"
28.Dd February 8, 2012
29.Dt JAIL 2
30.Os
31.Sh NAME
32.Nm jail ,
33.Nm jail_get ,
34.Nm jail_set ,

--- 19 unchanged lines hidden (view full) ---

54.Sh DESCRIPTION
55The
56.Fn jail
57system call sets up a jail and locks the current process in it.
58.Pp
59The argument is a pointer to a structure describing the prison:
60.Bd -literal -offset indent
61struct jail {
62 u_int32_t version;
62 uint32_t version;
63 char *path;
64 char *hostname;
65 char *jailname;
66 unsigned int ip4s;
67 unsigned int ip6s;
68 struct in_addr *ip4;
69 struct in6_addr *ip6;
70};

--- 380 unchanged lines hidden ---
63 char *path;
64 char *hostname;
65 char *jailname;
66 unsigned int ip4s;
67 unsigned int ip6s;
68 struct in_addr *ip4;
69 struct in6_addr *ip6;
70};

--- 380 unchanged lines hidden ---