aboutsummaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2004-01-21 17:10:47 +0000
committerRobert Watson <rwatson@FreeBSD.org>2004-01-21 17:10:47 +0000
commit679365e7b9af62d9c33066167d6e98697958149e (patch)
tree4b74c8d9b5ca437e82167048e8ce27ebb2ed735e /sys/kern
parent99dfd6213fadb730f7fd4d0641ee1f9c6a1afe74 (diff)
downloadsrc-679365e7b9af62d9c33066167d6e98697958149e.tar.gz
src-679365e7b9af62d9c33066167d6e98697958149e.zip
Reduce gratuitous includes: don't include jail.h if it's not needed.
Presumably, at some point, you had to include jail.h if you included proc.h, but that is no longer required. Result of: self injury involving adding something to struct prison
Notes
Notes: svn path=/head/; revision=124802
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/kern_exit.c1
-rw-r--r--sys/kern/kern_fork.c1
-rw-r--r--sys/kern/kern_kse.c1
-rw-r--r--sys/kern/kern_ktrace.c1
-rw-r--r--sys/kern/kern_thread.c1
-rw-r--r--sys/kern/uipc_sem.c1
6 files changed, 0 insertions, 6 deletions
diff --git a/sys/kern/kern_exit.c b/sys/kern/kern_exit.c
index 10eeac345c02..28b39c62a7d6 100644
--- a/sys/kern/kern_exit.c
+++ b/sys/kern/kern_exit.c
@@ -69,7 +69,6 @@ __FBSDID("$FreeBSD$");
#include <sys/mac.h>
#include <sys/shm.h>
#include <sys/sem.h>
-#include <sys/jail.h>
#ifdef KTRACE
#include <sys/ktrace.h>
#endif
diff --git a/sys/kern/kern_fork.c b/sys/kern/kern_fork.c
index ced9b2824947..32334b166258 100644
--- a/sys/kern/kern_fork.c
+++ b/sys/kern/kern_fork.c
@@ -67,7 +67,6 @@ __FBSDID("$FreeBSD$");
#include <sys/ktr.h>
#include <sys/ktrace.h>
#include <sys/unistd.h>
-#include <sys/jail.h>
#include <sys/sx.h>
#include <vm/vm.h>
diff --git a/sys/kern/kern_kse.c b/sys/kern/kern_kse.c
index 65546a6db365..fa7306bf5b54 100644
--- a/sys/kern/kern_kse.c
+++ b/sys/kern/kern_kse.c
@@ -46,7 +46,6 @@ __FBSDID("$FreeBSD$");
#include <sys/tty.h>
#include <sys/turnstile.h>
#include <sys/user.h>
-#include <sys/jail.h>
#include <sys/kse.h>
#include <sys/ktr.h>
#include <sys/ucontext.h>
diff --git a/sys/kern/kern_ktrace.c b/sys/kern/kern_ktrace.c
index 2ee758fcdeb1..3c2336a7b5c5 100644
--- a/sys/kern/kern_ktrace.c
+++ b/sys/kern/kern_ktrace.c
@@ -42,7 +42,6 @@ __FBSDID("$FreeBSD$");
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/fcntl.h>
-#include <sys/jail.h>
#include <sys/kernel.h>
#include <sys/kthread.h>
#include <sys/lock.h>
diff --git a/sys/kern/kern_thread.c b/sys/kern/kern_thread.c
index 65546a6db365..fa7306bf5b54 100644
--- a/sys/kern/kern_thread.c
+++ b/sys/kern/kern_thread.c
@@ -46,7 +46,6 @@ __FBSDID("$FreeBSD$");
#include <sys/tty.h>
#include <sys/turnstile.h>
#include <sys/user.h>
-#include <sys/jail.h>
#include <sys/kse.h>
#include <sys/ktr.h>
#include <sys/ucontext.h>
diff --git a/sys/kern/uipc_sem.c b/sys/kern/uipc_sem.c
index 81a12398d23d..2b34bb1b5d14 100644
--- a/sys/kern/uipc_sem.c
+++ b/sys/kern/uipc_sem.c
@@ -45,7 +45,6 @@ __FBSDID("$FreeBSD$");
#include <sys/sysent.h>
#include <sys/sysctl.h>
#include <sys/malloc.h>
-#include <sys/jail.h>
#include <sys/fcntl.h>
#include <posix4/posix4.h>