site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=TZ1TN2eCSOyDMc76dwkBJIPE9gd4IRa420Xsk5A2T9A=; b=IC5A0Vqivvc5JQ3VTpWeaPYT5GWjXmlqYe4M5kNuWe9c+kmbtlQQNwfq559JogqDj6 YSrkgcZ1xG8IY366jjQi8Oey/gVHsw2amMFytgpWvEQk83sddpPsic/3PiyT7lI62Tqv wYJ7jY3Udm9L61TRWBP2jf7KrWObY87HixqRs= On Thu, Sep 8, 2011 at 9:46 PM, Nick Blievers <nick@trustdefender.com> wrote:
Try passing a value other than zero for currentBlockSize and it will work. For example: vm_region_flavor_t flavor = VM_REGION_BASIC_INFO_64;
Actually, size is an out parameter, so the original value doesn't matter. The problem with the original code is the use of VM_REGION_BASIC_INFO rather than VM_REGION_BASIC_INFO_64 (and the corresponding count and structure). _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com