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

Unified Diff: base/posix/unix_domain_socket.cc

Issue 11557025: Linux sandbox: add a new low-level broker process mechanism. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add copyright notice Created 8 years 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
« no previous file with comments | « no previous file | sandbox/linux/sandbox_linux.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/posix/unix_domain_socket.cc
diff --git a/base/posix/unix_domain_socket.cc b/base/posix/unix_domain_socket.cc
index 730657dfcdbc4c5f6c87b31f5a659a2ce32abd5a..17aa6e51e3fa4d5208dfa64227fbc6bc52d0bdce 100644
--- a/base/posix/unix_domain_socket.cc
+++ b/base/posix/unix_domain_socket.cc
@@ -43,7 +43,7 @@ bool UnixDomainSocket::SendMsg(int fd,
msg.msg_controllen = cmsg->cmsg_len;
}
- const ssize_t r = HANDLE_EINTR(sendmsg(fd, &msg, 0));
+ const ssize_t r = HANDLE_EINTR(sendmsg(fd, &msg, MSG_NOSIGNAL));
const bool ret = static_cast<ssize_t>(length) == r;
delete[] control_buffer;
return ret;
« no previous file with comments | « no previous file | sandbox/linux/sandbox_linux.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698