From 0162d565bf9b48d8ee33406f2f1d65c05c37fe88 Mon Sep 17 00:00:00 2001 From: Maksym Planeta Date: Sun, 20 Nov 2011 09:41:59 +0100 Subject: Fix defpager into using the correct control port The reply_port is only the correct control port when RPCs are from the kernel, not from e.g. tmpfs, such as default_pager_object_set_size calls. * mach-defpager/default_pager.c (seqnos_memory_object_terminate, S_default_pager_object_set_size): Make default pager use its own memory object control ports for external objects, remove reply_to parameter. * trans/proxy-defpager.c (S_default_pager_object_set_size): Remove reply_to parameter. * hurd/default_pager.defs (default_pager_object_set_size): Remove unused parameter. --- trans/proxy-defpager.c | 1 - 1 file changed, 1 deletion(-) (limited to 'trans/proxy-defpager.c') diff --git a/trans/proxy-defpager.c b/trans/proxy-defpager.c index cda79592..0a5ab65e 100644 --- a/trans/proxy-defpager.c +++ b/trans/proxy-defpager.c @@ -107,7 +107,6 @@ S_default_pager_paging_storage (mach_port_t default_pager, kern_return_t S_default_pager_object_set_size (mach_port_t memory_object, - mach_port_t reply_port, mach_port_seqno_t seqno, vm_size_t object_size_limit) { -- cgit v1.2.3