summaryrefslogtreecommitdiffstats
path: root/content/common
diff options
context:
space:
mode:
authormcgrathr@chromium.org <mcgrathr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-02 23:43:18 +0000
committermcgrathr@chromium.org <mcgrathr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-02 23:43:18 +0000
commit0427c17d41a968fe0b198a5e0db3b7e1fe7b9ca0 (patch)
tree00971bb424dbd052814729f21ced5ca7f624d9a3 /content/common
parent49dc8639c4bdcfc9accf1335ff0d1510352570aa (diff)
downloadchromium_src-0427c17d41a968fe0b198a5e0db3b7e1fe7b9ca0.zip
chromium_src-0427c17d41a968fe0b198a5e0db3b7e1fe7b9ca0.tar.gz
chromium_src-0427c17d41a968fe0b198a5e0db3b7e1fe7b9ca0.tar.bz2
Plumb executable flag through proxy to base::SharedMemory::Create.
base::SharedMemory now takes a flag for whether executability is required. Plumb that through the Linux-only proxy for this interface. BUG= http://code.google.com/p/chromium/issues/detail?id=103377 TEST= nacl still works R=mseaborn@chromium.org,jam@chromium.org Review URL: http://codereview.chromium.org/8776053 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112818 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/common')
-rw-r--r--content/common/child_process_sandbox_support_impl_linux.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/common/child_process_sandbox_support_impl_linux.cc b/content/common/child_process_sandbox_support_impl_linux.cc
index 46d08917..a19258ab 100644
--- a/content/common/child_process_sandbox_support_impl_linux.cc
+++ b/content/common/child_process_sandbox_support_impl_linux.cc
@@ -91,6 +91,7 @@ int MakeSharedMemorySegmentViaIPC(size_t length, bool executable) {
Pickle request;
request.WriteInt(LinuxSandbox::METHOD_MAKE_SHARED_MEMORY_SEGMENT);
request.WriteUInt32(length);
+ request.WriteBool(executable);
uint8_t reply_buf[10];
int result_fd;
ssize_t result = UnixDomainSocket::SendRecvMsg(GetSandboxFD(),