| Index: content/browser/renderer_host/render_sandbox_host_linux.cc
|
| diff --git a/content/browser/renderer_host/render_sandbox_host_linux.cc b/content/browser/renderer_host/render_sandbox_host_linux.cc
|
| index 0ce5d884229326b01ed6830ccd99c0187ef0f2f7..2b0a27f1bdd99979c9929e309302ee5a183f420d 100644
|
| --- a/content/browser/renderer_host/render_sandbox_host_linux.cc
|
| +++ b/content/browser/renderer_host/render_sandbox_host_linux.cc
|
| @@ -372,9 +372,12 @@ class SandboxIPCProcess {
|
| uint32_t shm_size;
|
| if (!pickle.ReadUInt32(&iter, &shm_size))
|
| return;
|
| + bool executable;
|
| + if (!pickle.ReadBool(&iter, &executable))
|
| + return;
|
| int shm_fd = -1;
|
| base::SharedMemory shm;
|
| - if (shm.CreateAnonymous(shm_size))
|
| + if (shm.CreateAnonymous(shm_size, executable))
|
| shm_fd = shm.handle().fd;
|
| Pickle reply;
|
| SendRendererReply(fds, reply, shm_fd);
|
|
|