Deleted Added
full compact
sys_socket.c (224914) sys_socket.c (254356)
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

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

25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)sys_socket.c 8.1 (Berkeley) 6/10/93
30 */
31
32#include <sys/cdefs.h>
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

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

25 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
27 * SUCH DAMAGE.
28 *
29 * @(#)sys_socket.c 8.1 (Berkeley) 6/10/93
30 */
31
32#include <sys/cdefs.h>
33__FBSDID("$FreeBSD: head/sys/kern/sys_socket.c 224914 2011-08-16 20:07:47Z kib $");
33__FBSDID("$FreeBSD: head/sys/kern/sys_socket.c 254356 2013-08-15 07:54:31Z glebius $");
34
35#include <sys/param.h>
36#include <sys/systm.h>
37#include <sys/file.h>
38#include <sys/filedesc.h>
39#include <sys/proc.h>
40#include <sys/protosw.h>
41#include <sys/sigio.h>

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

61 .fo_truncate = soo_truncate,
62 .fo_ioctl = soo_ioctl,
63 .fo_poll = soo_poll,
64 .fo_kqfilter = soo_kqfilter,
65 .fo_stat = soo_stat,
66 .fo_close = soo_close,
67 .fo_chmod = invfo_chmod,
68 .fo_chown = invfo_chown,
34
35#include <sys/param.h>
36#include <sys/systm.h>
37#include <sys/file.h>
38#include <sys/filedesc.h>
39#include <sys/proc.h>
40#include <sys/protosw.h>
41#include <sys/sigio.h>

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

61 .fo_truncate = soo_truncate,
62 .fo_ioctl = soo_ioctl,
63 .fo_poll = soo_poll,
64 .fo_kqfilter = soo_kqfilter,
65 .fo_stat = soo_stat,
66 .fo_close = soo_close,
67 .fo_chmod = invfo_chmod,
68 .fo_chown = invfo_chown,
69 .fo_sendfile = invfo_sendfile,
69 .fo_flags = DFLAG_PASSABLE
70};
71
72/* ARGSUSED */
73int
74soo_read(struct file *fp, struct uio *uio, struct ucred *active_cred,
75 int flags, struct thread *td)
76{

--- 220 unchanged lines hidden ---
70 .fo_flags = DFLAG_PASSABLE
71};
72
73/* ARGSUSED */
74int
75soo_read(struct file *fp, struct uio *uio, struct ucred *active_cred,
76 int flags, struct thread *td)
77{

--- 220 unchanged lines hidden ---