summaryrefslogtreecommitdiffstats
path: root/third_party/mach_override/README.chromium
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-22 23:27:13 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-22 23:27:13 +0000
commit40417dd678669799edc089eebf4227c87bb77fc0 (patch)
tree4ac40e954a0a4b5ba8aa83e9662bf452e6f752dc /third_party/mach_override/README.chromium
parent6d780fd50a98e2f2bd5da87e2d18d6dc46f3d98a (diff)
downloadchromium_src-40417dd678669799edc089eebf4227c87bb77fc0.zip
chromium_src-40417dd678669799edc089eebf4227c87bb77fc0.tar.gz
chromium_src-40417dd678669799edc089eebf4227c87bb77fc0.tar.bz2
Allocate mach_override "reentry islands" in high memory using vm_allocate,
rather than putting them in the heap using malloc. Ownership of page protection bits in the heap is dubious. BUG=93736 TEST=Watch the canary crashes tomorrow Review URL: http://codereview.chromium.org/7710011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97770 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/mach_override/README.chromium')
-rw-r--r--third_party/mach_override/README.chromium8
1 files changed, 7 insertions, 1 deletions
diff --git a/third_party/mach_override/README.chromium b/third_party/mach_override/README.chromium
index 0e7e394..96b0cf7 100644
--- a/third_party/mach_override/README.chromium
+++ b/third_party/mach_override/README.chromium
@@ -19,4 +19,10 @@ implementations at run time.
Local Modifications:
-None. All local changes have been upstreamed.
+reentryIsland is allocated in high memory with vm_allocate rather than the
+heap with malloc by changing the allocation policy to kAllocateHigh. It
+appears probable that putting the reentry island in the heap causes its page
+to lose execute permission at some point under some circumstances, which
+results in a crash on Lion. This modification is temoprary to simply test
+out the theory. If proven, the code will be improved somewhat.
+http://crbug.com/93736.