OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 <sched.h> | 5 #include <sched.h> |
6 #include <stdio.h> | 6 #include <stdio.h> |
7 #include <string.h> | 7 #include <string.h> |
8 #include <sys/socket.h> | 8 #include <sys/socket.h> |
9 #include <sys/syscall.h> | 9 #include <sys/syscall.h> |
10 #include <sys/wait.h> | 10 #include <sys/wait.h> |
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
258 | 258 |
259 // Parent process. | 259 // Parent process. |
260 recv_sock.reset(); | 260 recv_sock.reset(); |
261 SendHello(send_sock.get()); | 261 SendHello(send_sock.get()); |
262 WaitForExit(pid); | 262 WaitForExit(pid); |
263 } | 263 } |
264 | 264 |
265 } // namespace | 265 } // namespace |
266 | 266 |
267 } // namespace sandbox | 267 } // namespace sandbox |
OLD | NEW |