Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(435)

Unified Diff: chrome_frame/dll_redirector.cc

Issue 8585002: Give base::SharedMemory::CreateAnonymous an executable flag (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome_frame/dll_redirector.cc
diff --git a/chrome_frame/dll_redirector.cc b/chrome_frame/dll_redirector.cc
index 98ede3aea2e70530d1bbf17075768aa9bafc5879..5f69dd212100f2375048bd9a81a51d4074b8572a 100644
--- a/chrome_frame/dll_redirector.cc
+++ b/chrome_frame/dll_redirector.cc
@@ -151,7 +151,8 @@ bool DllRedirector::RegisterAsFirstCFModule() {
bool created_beacon = true;
bool result = shared_memory_->CreateNamed(shared_memory_name_.c_str(),
false, // open_existing
- kSharedMemorySize);
+ kSharedMemorySize,
+ false); // executable
if (result) {
// We created the beacon, now we need to mutate the security attributes

Powered by Google App Engine
This is Rietveld 408576698