Deleted Added
full compact
uipc_usrreq.c (93076) uipc_usrreq.c (95759)
1/*
2 * Copyright (c) 1982, 1986, 1989, 1991, 1993
3 * The Regents of the University of California. 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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * From: @(#)uipc_usrreq.c 8.3 (Berkeley) 1/4/94
1/*
2 * Copyright (c) 1982, 1986, 1989, 1991, 1993
3 * The Regents of the University of California. 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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * From: @(#)uipc_usrreq.c 8.3 (Berkeley) 1/4/94
34 * $FreeBSD: head/sys/kern/uipc_usrreq.c 93076 2002-03-24 05:09:11Z bde $
34 * $FreeBSD: head/sys/kern/uipc_usrreq.c 95759 2002-04-30 01:54:54Z tanimura $
35 */
36
37#include <sys/param.h>
35 */
36
37#include <sys/param.h>
38#include <sys/systm.h>
39#include <sys/kernel.h>
40#include <sys/fcntl.h>
41#include <sys/domain.h>
38#include <sys/domain.h>
42#include <sys/filedesc.h>
43#include <sys/lock.h>
39#include <sys/fcntl.h>
44#include <sys/malloc.h> /* XXX must be before <sys/file.h> */
45#include <sys/file.h>
40#include <sys/malloc.h> /* XXX must be before <sys/file.h> */
41#include <sys/file.h>
46#include <sys/mutex.h>
42#include <sys/filedesc.h>
43#include <sys/jail.h>
44#include <sys/kernel.h>
45#include <sys/lock.h>
47#include <sys/mbuf.h>
46#include <sys/mbuf.h>
47#include <sys/mutex.h>
48#include <sys/namei.h>
49#include <sys/proc.h>
50#include <sys/protosw.h>
48#include <sys/namei.h>
49#include <sys/proc.h>
50#include <sys/protosw.h>
51#include <sys/resourcevar.h>
51#include <sys/socket.h>
52#include <sys/socketvar.h>
52#include <sys/socket.h>
53#include <sys/socketvar.h>
53#include <sys/resourcevar.h>
54#include <sys/signalvar.h>
54#include <sys/stat.h>
55#include <sys/stat.h>
56#include <sys/sx.h>
55#include <sys/sysctl.h>
57#include <sys/sysctl.h>
58#include <sys/systm.h>
56#include <sys/un.h>
57#include <sys/unpcb.h>
58#include <sys/vnode.h>
59#include <sys/un.h>
60#include <sys/unpcb.h>
61#include <sys/vnode.h>
59#include <sys/jail.h>
60#include <sys/sx.h>
61
62#include <vm/uma.h>
63
64static uma_zone_t unp_zone;
65static unp_gen_t unp_gencnt;
66static u_int unp_count;
67
68static struct unp_head unp_shead, unp_dhead;

--- 1434 unchanged lines hidden ---
62
63#include <vm/uma.h>
64
65static uma_zone_t unp_zone;
66static unp_gen_t unp_gencnt;
67static u_int unp_count;
68
69static struct unp_head unp_shead, unp_dhead;

--- 1434 unchanged lines hidden ---