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

Unified Diff: base/shared_memory_android.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: base/shared_memory_android.cc
diff --git a/base/shared_memory_android.cc b/base/shared_memory_android.cc
index 72c3a5684455e31cf8e309f28ab4b205bfdf31ef..51b835f281fd266807b5d366b0ac28cb192b0cbf 100644
--- a/base/shared_memory_android.cc
+++ b/base/shared_memory_android.cc
@@ -16,8 +16,8 @@ namespace base {
// all the file descriptors from different processes associated with the region
// are closed, the memory buffer will go away.
-bool SharedMemory::CreateNamed(const std::string& name,
- bool open_existing, uint32 size) {
+bool SharedMemory::CreateNamed(const std::string& name, bool open_existing,
+ uint32 size, bool executable) {
DCHECK_EQ(-1, mapped_file_ );
// "name" is just a label in ashmem. It is visible in /proc/pid/maps.

Powered by Google App Engine
This is Rietveld 408576698