msync and 64 bit question
msync and 64 bit question
- Subject: msync and 64 bit question
- From: Gordo Cath <email@hidden>
- Date: Wed, 18 Jan 2017 11:23:07 -0500
hi,
I'm working with memory instruction patching on the fly under x86_64. When I call msync(addr, MS_INVALIDATE)
it returns 0 yet it doesn't seem to actually have any affect. According to the documentation if it were to error out it would have returned -1.
I'm using OS X 10.10.5 Does msync work under 64 bits or has it been deprecated? If it has been deprecated or if there is a better way to do this, what is the preferred way to go about doing this sort of operation?
Thanks
GC
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden