mach_vm_region_recurse will return KERN_INVALID_ARG (4) if the info_count
parameter is VM_REGION_SUBMAP_INFO_COUNT. However, this works on Leopard
due to coarse-grained error checking (see function vm_map_region_recurse_64
in osfmk/vm/vm_map.c; look at the lines that do parameter checking on *count)
Issue 255 tracks consolidating two duplicate functions, but for now I'm
making the fix in both functions because there's someone waiting on this fix.
Original issue reported on code.google.com by neal...@gmail.com on 7 May 2008 at 7:06
Original issue reported on code.google.com by
neal...@gmail.com
on 7 May 2008 at 7:06Attachments: