summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1999-10-29 18:09:36 +0000
committerphk <phk@FreeBSD.org>1999-10-29 18:09:36 +0000
commit8e3c3eafedf7a33a4058652691ad300f004263e7 (patch)
tree54ae4dddde04dac71ef8349b9ecc3e6ad3401152 /sys/compat
parent2997de7f2f8690623c3c48e8e176212a5a554fb9 (diff)
downloadFreeBSD-src-8e3c3eafedf7a33a4058652691ad300f004263e7.zip
FreeBSD-src-8e3c3eafedf7a33a4058652691ad300f004263e7.tar.gz
useracc() the prequel:
Merge the contents (less some trivial bordering the silly comments) of <vm/vm_prot.h> and <vm/vm_inherit.h> into <vm/vm.h>. This puts the #defines for the vm_inherit_t and vm_prot_t types next to their typedefs. This paves the road for the commit to follow shortly: change useracc() to use VM_PROT_{READ|WRITE} rather than B_{READ|WRITE} as argument.
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_misc.c1
-rw-r--r--sys/compat/svr4/imgact_svr4.c1
-rw-r--r--sys/compat/svr4/svr4_misc.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/sys/compat/linux/linux_misc.c b/sys/compat/linux/linux_misc.c
index ff5ba44..36f1165 100644
--- a/sys/compat/linux/linux_misc.c
+++ b/sys/compat/linux/linux_misc.c
@@ -52,7 +52,6 @@
#include <vm/vm.h>
#include <vm/pmap.h>
#include <vm/vm_kern.h>
-#include <vm/vm_prot.h>
#include <vm/vm_map.h>
#include <vm/vm_extern.h>
diff --git a/sys/compat/svr4/imgact_svr4.c b/sys/compat/svr4/imgact_svr4.c
index 707e7e4..7dc0d63 100644
--- a/sys/compat/svr4/imgact_svr4.c
+++ b/sys/compat/svr4/imgact_svr4.c
@@ -49,7 +49,6 @@
#include <vm/vm_param.h>
#include <vm/pmap.h>
#include <vm/vm_map.h>
-#include <vm/vm_prot.h>
#include <vm/vm_extern.h>
#include <svr4/svr4.h>
diff --git a/sys/compat/svr4/svr4_misc.c b/sys/compat/svr4/svr4_misc.c
index a24759e..2b39d6b 100644
--- a/sys/compat/svr4/svr4_misc.c
+++ b/sys/compat/svr4/svr4_misc.c
@@ -84,7 +84,6 @@
#include <vm/vm.h>
#include <vm/vm_param.h>
#include <vm/vm_map.h>
-#include <vm/vm_prot.h>
#if defined(NetBSD)
# if defined(UVM)
OpenPOWER on IntegriCloud