| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/zygote/zygote_linux.h" | 5 #include "content/zygote/zygote_linux.h" |
| 6 | 6 |
| 7 #include <errno.h> |
| 7 #include <fcntl.h> | 8 #include <fcntl.h> |
| 8 #include <stdint.h> | 9 #include <stdint.h> |
| 9 #include <string.h> | 10 #include <string.h> |
| 10 #include <sys/socket.h> | 11 #include <sys/socket.h> |
| 11 #include <sys/types.h> | 12 #include <sys/types.h> |
| 12 #include <sys/wait.h> | 13 #include <sys/wait.h> |
| 13 | 14 |
| 14 #include "base/command_line.h" | 15 #include "base/command_line.h" |
| 15 #include "base/files/file_util.h" | 16 #include "base/files/file_util.h" |
| 16 #include "base/linux_util.h" | 17 #include "base/linux_util.h" |
| (...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 611 bool Zygote::HandleGetSandboxStatus(int fd, base::PickleIterator iter) { | 612 bool Zygote::HandleGetSandboxStatus(int fd, base::PickleIterator iter) { |
| 612 if (HANDLE_EINTR(write(fd, &sandbox_flags_, sizeof(sandbox_flags_))) != | 613 if (HANDLE_EINTR(write(fd, &sandbox_flags_, sizeof(sandbox_flags_))) != |
| 613 sizeof(sandbox_flags_)) { | 614 sizeof(sandbox_flags_)) { |
| 614 PLOG(ERROR) << "write"; | 615 PLOG(ERROR) << "write"; |
| 615 } | 616 } |
| 616 | 617 |
| 617 return false; | 618 return false; |
| 618 } | 619 } |
| 619 | 620 |
| 620 } // namespace content | 621 } // namespace content |
| OLD | NEW |