aboutsummaryrefslogtreecommitdiff
path: root/pk/vm.h
diff options
context:
space:
mode:
authorYunsup Lee <yunsup@cs.berkeley.edu>2015-10-20 00:36:50 -0700
committerYunsup Lee <yunsup@cs.berkeley.edu>2015-10-20 00:36:50 -0700
commitfa1b72958119abad2c6e1659ab6db914bf30059f (patch)
tree798363fbfb3ff264a9b3eacf393c528293acb2f5 /pk/vm.h
parent69b5de4ffa20d6e2028b1656b2de68fbb929c231 (diff)
downloadpk-fa1b72958119abad2c6e1659ab6db914bf30059f.zip
pk-fa1b72958119abad2c6e1659ab6db914bf30059f.tar.gz
pk-fa1b72958119abad2c6e1659ab6db914bf30059f.tar.bz2
fix pte_create to deal with protection bits correctly
Diffstat (limited to 'pk/vm.h')
-rw-r--r--pk/vm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pk/vm.h b/pk/vm.h
index 71d9be2..4a24e56 100644
--- a/pk/vm.h
+++ b/pk/vm.h
@@ -17,6 +17,7 @@
# define VA_BITS 32
#endif
+#define PROT_NONE 0
#define PROT_READ 1
#define PROT_WRITE 2
#define PROT_EXEC 4