Why isn't mach_destroy_memory_entry exported?
Why isn't mach_destroy_memory_entry exported?
- Subject: Why isn't mach_destroy_memory_entry exported?
- From: Dan Bernstein <email@hidden>
- Date: Thu, 1 Jul 2004 08:23:26 +0300
In user code, I'm creating map entries using mach_make_memory_entry
but I can't get rid of them when I no longer need them since
mach_destroy_memory_entry isn't exported. What am I supposed to do?
In case the answer is "don't call mach_make_memory_entry in the first
place", how else can one task grant access to a piece of memory to
another task, so that the first task can later revoke that access?
Currently, I use vm_map, and that seems to require a map entry.
Thanks in advance.
-- Dan Bernstein
_______________________________________________
darwin-kernel mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/darwin-kernel
Do not post admin requests to the list. They will be ignored.