diff options
Diffstat (limited to 'trans')
-rw-r--r-- | trans/proxy-defpager.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/trans/proxy-defpager.c b/trans/proxy-defpager.c index 4fdeb35b..9a8436ae 100644 --- a/trans/proxy-defpager.c +++ b/trans/proxy-defpager.c @@ -64,6 +64,19 @@ S_default_pager_info (mach_port_t default_pager, default_pager_info_t *info) } kern_return_t +S_default_pager_storage_info (mach_port_t default_pager, + vm_size_array_t *size, + mach_msg_type_number_t *sizeCnt, + vm_size_array_t *free, + mach_msg_type_number_t *freeCnt, + data_t *name, + mach_msg_type_number_t *nameCnt) +{ + return allowed (default_pager, O_READ) + ?: default_pager_storage_info (real_defpager, size, sizeCnt, free, freeCnt, name, nameCnt); +} + +kern_return_t S_default_pager_objects (mach_port_t default_pager, default_pager_object_array_t *objects, mach_msg_type_number_t *objectsCnt, |