diff options
author | Yunsup Lee <yunsup@cs.berkeley.edu> | 2015-10-20 00:36:50 -0700 |
---|---|---|
committer | Yunsup Lee <yunsup@cs.berkeley.edu> | 2015-10-20 00:36:50 -0700 |
commit | fa1b72958119abad2c6e1659ab6db914bf30059f (patch) | |
tree | 798363fbfb3ff264a9b3eacf393c528293acb2f5 /pk/vm.h | |
parent | 69b5de4ffa20d6e2028b1656b2de68fbb929c231 (diff) | |
download | pk-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |