sys_socket.c (106314) | sys_socket.c (108235) |
---|---|
1/* 2 * Copyright (c) 1982, 1986, 1990, 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 * @(#)sys_socket.c 8.1 (Berkeley) 6/10/93 | 1/* 2 * Copyright (c) 1982, 1986, 1990, 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 * @(#)sys_socket.c 8.1 (Berkeley) 6/10/93 |
34 * $FreeBSD: head/sys/kern/sys_socket.c 106314 2002-11-01 21:31:13Z kbyanc $ | 34 * $FreeBSD: head/sys/kern/sys_socket.c 108235 2002-12-23 21:37:28Z phk $ |
35 */ 36 37#include "opt_mac.h" 38 39#include <sys/param.h> 40#include <sys/systm.h> 41#include <sys/file.h> 42#include <sys/mac.h> --- 6 unchanged lines hidden (view full) --- 49#include <sys/uio.h> 50#include <sys/filedesc.h> 51#include <sys/ucred.h> 52 53#include <net/if.h> 54#include <net/route.h> 55 56struct fileops socketops = { | 35 */ 36 37#include "opt_mac.h" 38 39#include <sys/param.h> 40#include <sys/systm.h> 41#include <sys/file.h> 42#include <sys/mac.h> --- 6 unchanged lines hidden (view full) --- 49#include <sys/uio.h> 50#include <sys/filedesc.h> 51#include <sys/ucred.h> 52 53#include <net/if.h> 54#include <net/route.h> 55 56struct fileops socketops = { |
57 soo_read, soo_write, soo_ioctl, soo_poll, sokqfilter, | 57 soo_read, soo_write, soo_ioctl, soo_poll, soo_kqfilter, |
58 soo_stat, soo_close 59}; 60 61/* ARGSUSED */ 62int 63soo_read(fp, uio, active_cred, flags, td) 64 struct file *fp; 65 struct uio *uio; --- 172 unchanged lines hidden --- | 58 soo_stat, soo_close 59}; 60 61/* ARGSUSED */ 62int 63soo_read(fp, uio, active_cred, flags, td) 64 struct file *fp; 65 struct uio *uio; --- 172 unchanged lines hidden --- |