HomeSort by relevance Sort by last modified time
    Searched refs:ipc_fd (Results 1 - 2 of 2) sorted by null

  /external/ltp/lib/
tst_test.c 53 static int ipc_fd; variable
82 ipc_fd = open(shm_path, O_CREAT | O_EXCL | O_RDWR, 0600);
83 if (ipc_fd < 0)
86 SAFE_FTRUNCATE(ipc_fd, size);
88 results = SAFE_MMAP(NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, ipc_fd, 0);
96 SAFE_CLOSE(ipc_fd);
108 if (ipc_fd > 0 && close(ipc_fd))
109 tst_res(TWARN | TERRNO, "close(ipc_fd) failed");
  /external/libchrome/sandbox/linux/syscall_broker/
broker_process_unittest.cc 543 const int ipc_fd = BrokerProcessTestHelper::GetIPCDescriptor(&open_broker); local
544 SANDBOX_ASSERT(ipc_fd >= 0);
554 base::UnixDomainSocket::SendMsg(ipc_fd, kBogus, sizeof(kBogus), fds));

Completed in 367 milliseconds