Deleted Added
full compact
kern_prot.c (210226) kern_prot.c (219028)
1/*-
2 * Copyright (c) 1982, 1986, 1989, 1990, 1991, 1993
3 * The Regents of the University of California.
4 * (c) UNIX System Laboratories, Inc.
5 * Copyright (c) 2000-2001 Robert N. M. Watson.
6 * All rights reserved.
7 *
8 * All or some portions of this file are derived from material licensed

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

37 * @(#)kern_prot.c 8.6 (Berkeley) 1/21/94
38 */
39
40/*
41 * System calls related to processes and protection
42 */
43
44#include <sys/cdefs.h>
1/*-
2 * Copyright (c) 1982, 1986, 1989, 1990, 1991, 1993
3 * The Regents of the University of California.
4 * (c) UNIX System Laboratories, Inc.
5 * Copyright (c) 2000-2001 Robert N. M. Watson.
6 * All rights reserved.
7 *
8 * All or some portions of this file are derived from material licensed

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

37 * @(#)kern_prot.c 8.6 (Berkeley) 1/21/94
38 */
39
40/*
41 * System calls related to processes and protection
42 */
43
44#include <sys/cdefs.h>
45__FBSDID("$FreeBSD: head/sys/kern/kern_prot.c 210226 2010-07-18 20:57:53Z trasz $");
45__FBSDID("$FreeBSD: head/sys/kern/kern_prot.c 219028 2011-02-25 10:11:01Z netchild $");
46
47#include "opt_compat.h"
48#include "opt_inet.h"
49#include "opt_inet6.h"
50
51#include <sys/param.h>
52#include <sys/systm.h>
53#include <sys/acct.h>

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

64#include <sys/jail.h>
65#include <sys/pioctl.h>
66#include <sys/resourcevar.h>
67#include <sys/socket.h>
68#include <sys/socketvar.h>
69#include <sys/syscallsubr.h>
70#include <sys/sysctl.h>
71
46
47#include "opt_compat.h"
48#include "opt_inet.h"
49#include "opt_inet6.h"
50
51#include <sys/param.h>
52#include <sys/systm.h>
53#include <sys/acct.h>

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

64#include <sys/jail.h>
65#include <sys/pioctl.h>
66#include <sys/resourcevar.h>
67#include <sys/socket.h>
68#include <sys/socketvar.h>
69#include <sys/syscallsubr.h>
70#include <sys/sysctl.h>
71
72#ifdef REGRESSION
73FEATURE(regression,
74 "Kernel support for interfaces nessesary for regression testing (SECURITY RISK!)");
75#endif
76
72#if defined(INET) || defined(INET6)
73#include <netinet/in.h>
74#include <netinet/in_pcb.h>
75#endif
76
77#include <security/audit/audit.h>
78#include <security/mac/mac_framework.h>
79

--- 2122 unchanged lines hidden ---
77#if defined(INET) || defined(INET6)
78#include <netinet/in.h>
79#include <netinet/in_pcb.h>
80#endif
81
82#include <security/audit/audit.h>
83#include <security/mac/mac_framework.h>
84

--- 2122 unchanged lines hidden ---