aboutsummaryrefslogtreecommitdiff
path: root/pk/syscall.h
diff options
context:
space:
mode:
authorColin Schmidt <colins@berkeley.edu>2014-05-27 10:27:43 -0700
committerColin Schmidt <colins@berkeley.edu>2014-05-27 10:27:43 -0700
commit8fc3a35ba546209532c5ee79db52f4f706bf6beb (patch)
treeb7014666ae0f5c25e8666fc4c0384338e30f1219 /pk/syscall.h
parent863e01b99095626a447d61f8f67fb4f1e6ba5355 (diff)
downloadpk-8fc3a35ba546209532c5ee79db52f4f706bf6beb.zip
pk-8fc3a35ba546209532c5ee79db52f4f706bf6beb.tar.gz
pk-8fc3a35ba546209532c5ee79db52f4f706bf6beb.tar.bz2
Allow mmap to map new segments larger than 1 page on top of existing mappings and add mprotect syscall
Diffstat (limited to 'pk/syscall.h')
-rw-r--r--pk/syscall.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pk/syscall.h b/pk/syscall.h
index e3a88ce..5d6bbf0 100644
--- a/pk/syscall.h
+++ b/pk/syscall.h
@@ -35,6 +35,7 @@
#define SYS_mmap 222
#define SYS_munmap 215
#define SYS_mremap 216
+#define SYS_mprotect 226
#define SYS_time 1062
#define SYS_getmainvars 2011
#define SYS_rt_sigaction 134