summaryrefslogtreecommitdiff
path: root/trans/proxy-defpager.c
diff options
context:
space:
mode:
Diffstat (limited to 'trans/proxy-defpager.c')
-rw-r--r--trans/proxy-defpager.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/trans/proxy-defpager.c b/trans/proxy-defpager.c
index 98176577..5fe8ffd1 100644
--- a/trans/proxy-defpager.c
+++ b/trans/proxy-defpager.c
@@ -45,8 +45,10 @@ allowed (mach_port_t port, int mode)
kern_return_t
S_default_pager_object_create (mach_port_t default_pager,
memory_object_t *memory_object,
+ mach_msg_type_name_t *memory_object_type,
vm_size_t object_size)
{
+ *memory_object_type = MACH_MSG_TYPE_COPY_SEND;
return allowed (default_pager, O_EXEC)
?: default_pager_object_create (real_defpager, memory_object, object_size);
}