summaryrefslogtreecommitdiffstats
path: root/sandbox/linux
diff options
context:
space:
mode:
authorglider@google.com <glider@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-18 10:34:29 +0000
committerglider@google.com <glider@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-18 10:34:29 +0000
commit8c89c59cb0daca7cdb723d0fcfbbd575a7ab1151 (patch)
tree95a603a38e2f614904e7a3d59d1f9b2110d04566 /sandbox/linux
parent9a8a1a6fdcc43fc8612848857c445ffa2b50cc12 (diff)
downloadchromium_src-8c89c59cb0daca7cdb723d0fcfbbd575a7ab1151.zip
chromium_src-8c89c59cb0daca7cdb723d0fcfbbd575a7ab1151.tar.gz
chromium_src-8c89c59cb0daca7cdb723d0fcfbbd575a7ab1151.tar.bz2
Use SOCK_SEQPACKET for synchronous IPC.
This is a copy of https://codereview.chromium.org/11738003 by mnissler@chromium.org SOCK_DGRAM fails in case the other end of the connection dies before sending a reply. This causes recvmsg() calls on the socket to hang, which results in stuck processes sticking around after running tests. BUG=chromium:166528 TEST=No more stuck --type=zygote processes in browser_tests and content_browsertests. Review URL: https://codereview.chromium.org/11823024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@177638 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sandbox/linux')
-rw-r--r--sandbox/linux/services/broker_process.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sandbox/linux/services/broker_process.cc b/sandbox/linux/services/broker_process.cc
index cbd9ece..ea71b8f 100644
--- a/sandbox/linux/services/broker_process.cc
+++ b/sandbox/linux/services/broker_process.cc
@@ -18,7 +18,7 @@
#include "base/logging.h"
#include "base/pickle.h"
#include "base/posix/eintr_wrapper.h"
-#include "base/posix/unix_domain_socket.h"
+#include "base/posix/unix_domain_socket_linux.h"
namespace {