OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sync_fds
(Results
1 - 2
of
2
) sorted by null
/external/libchrome/sandbox/linux/services/
init_process_reaper.cc
27
int
sync_fds
[2];
local
29
if (socketpair(AF_UNIX, SOCK_STREAM, 0,
sync_fds
)) {
36
close_ret = IGNORE_EINTR(close(
sync_fds
[0]));
38
close_ret = IGNORE_EINTR(close(
sync_fds
[1]));
53
close_ret = IGNORE_EINTR(close(
sync_fds
[0]));
55
close_ret = shutdown(
sync_fds
[1], SHUT_RD);
60
CHECK(HANDLE_EINTR(send(
sync_fds
[1], "C", 1, MSG_NOSIGNAL)) == 1);
61
close_ret = IGNORE_EINTR(close(
sync_fds
[1]));
86
close_ret = IGNORE_EINTR(close(
sync_fds
[1]));
88
close_ret = shutdown(
sync_fds
[0], SHUT_WR)
[
all
...]
/external/libchrome/sandbox/linux/suid/
sandbox.c
234
int
sync_fds
[2];
local
235
if (socketpair(AF_UNIX, SOCK_STREAM, 0,
sync_fds
)) {
248
if (close(
sync_fds
[0]) || shutdown(
sync_fds
[1], SHUT_RD))
255
if (HANDLE_EINTR(send(
sync_fds
[1], "C", 1, MSG_NOSIGNAL)) != 1)
257
if (close(
sync_fds
[1]))
268
if (close(
sync_fds
[1]) || shutdown(
sync_fds
[0], SHUT_WR))
274
if (HANDLE_EINTR(read(
sync_fds
[0], &should_continue, 1)) != 1)
276
if (close(
sync_fds
[0])
[
all
...]
Completed in 1716 milliseconds