Searched refs:SAPI_RAW_CHECK (Results 1 – 12 of 12) sorted by relevance
/external/sandboxed-api/sandboxed_api/sandbox2/ |
D | client.cc | 78 SAPI_RAW_CHECK(comms->SendFD(notify_fd), "sending unotify fd"); in InitSeccompUnotify() 79 SAPI_RAW_CHECK(close(notify_fd) == 0, "closing unotify fd"); in InitSeccompUnotify() 119 SAPI_RAW_CHECK(result == 0, "Enabling seccomp filter"); in InitSeccompUnotify() 144 SAPI_RAW_CHECK(absl::SimpleAtoi(mapped_fd, &fd), "failed to parse fd map"); in Client() 145 SAPI_RAW_CHECK(fd_map_.emplace(std::string(name), fd).second, in Client() 196 SAPI_RAW_CHECK(comms_->RecvString(&cwd), "receiving working directory"); in SetUpCwd() 212 SAPI_RAW_CHECK(comms_->RecvUint32(&num_of_fd_pairs), in SetUpIPC() 214 SAPI_RAW_CHECK(fd_map_.empty(), "fd map not empty"); in SetUpIPC() 228 SAPI_RAW_CHECK(comms_->RecvInt32(&requested_fd), "receiving requested fd"); in SetUpIPC() 229 SAPI_RAW_CHECK(comms_->RecvFD(&fd), "receiving current fd"); in SetUpIPC() [all …]
|
D | forkserver.cc | 100 SAPI_RAW_CHECK(fd != -1, "Duplicating an FD failed."); in MoveFDs() 137 SAPI_RAW_CHECK(sigaction(SIGCHLD, &sa, nullptr) == 0, in RunInitProcess() 160 SAPI_RAW_CHECK(prctl(PR_SET_NO_NEW_PRIVS, 1, 0, 0, 0) == 0, in RunInitProcess() 162 SAPI_RAW_CHECK(prctl(PR_SET_KEEPCAPS, 0) == 0, "Dropping caps"); in RunInitProcess() 163 SAPI_RAW_CHECK( in RunInitProcess() 291 SAPI_RAW_CHECK(request.mode() != FORKSERVER_FORK_UNSPECIFIED, in LaunchChild() 308 SAPI_RAW_CHECK(cap_set_proc(caps) == 0, "while dropping capabilities"); in LaunchChild() 331 SAPI_RAW_CHECK(status.ok(), in LaunchChild() 388 SAPI_RAW_CHECK(comms_->RecvFD(&comms_fd), "Failed to receive Comms FD"); in ServeRequest() 390 SAPI_RAW_CHECK(fork_request.mode() != FORKSERVER_FORK_UNSPECIFIED, in ServeRequest() [all …]
|
D | namespace.cc | 69 SAPI_RAW_CHECK( in PrepareChroot() 233 SAPI_RAW_CHECK(root_fd->get() != -1, "creating fd for main root"); in InitializeNamespaces() 344 SAPI_RAW_CHECK( in InitializeInitialNamespaces() 350 SAPI_RAW_CHECK( in InitializeInitialNamespaces()
|
D | comms.cc | 76 SAPI_RAW_CHECK(absl::SimpleAtoi(var, &fd), "cannot parse comms fd var"); in GetDefaultCommsFd() 481 SAPI_RAW_CHECK(connection_fd_.get() != -1, in MoveToAnotherFd() 484 SAPI_RAW_CHECK(new_fd.get() != -1, "Failed to move comms to another fd"); in MoveToAnotherFd() 674 SAPI_RAW_CHECK(GetRawComms() != nullptr, in MoveToAnotherFd()
|
D | global_forkclient.cc | 265 SAPI_RAW_CHECK(instance_ == nullptr, in ForceStart() 270 SAPI_RAW_CHECK(forkserver.ok(), forkserver.status().ToString().c_str()); in ForceStart()
|
/external/sandboxed-api/sandboxed_api/sandbox2/examples/custom_fork/ |
D | custom_fork_bin.cc | 35 SAPI_RAW_CHECK(comms->RecvInt32(&i), "Receiving an int32_t"); in SandboxeeFunction() 39 SAPI_RAW_CHECK(getpid() == 2, "Unexpected PID"); in SandboxeeFunction() 60 SAPI_RAW_CHECK(false, "Could not spawn a new sandboxee"); in main()
|
/external/sandboxed-api/sandboxed_api/sandbox2/testcases/ |
D | symbolize.cc | 123 SAPI_RAW_CHECK(argc >= 3, "Not enough arguments"); in main() 126 SAPI_RAW_CHECK(absl::SimpleAtoi(argv[1], &testno), "testno not a number"); in main() 127 SAPI_RAW_CHECK(absl::SimpleAtoi(argv[2], &testmode), "testmode not a number"); in main()
|
D | ipc.cc | 37 SAPI_RAW_CHECK(absl::SimpleAtoi(argv[1], &testno), "testno is not a number"); in main() 54 SAPI_RAW_CHECK(absl::SimpleAtoi(argv[2], &expected_fd), in main()
|
D | pidcomms.cc | 25 SAPI_RAW_CHECK(comms.SendBool(true), "Sending data to the executor"); in main()
|
/external/sandboxed-api/sandboxed_api/util/ |
D | raw_logging.h | 70 #define SAPI_RAW_CHECK ABSL_RAW_CHECK macro 77 #define SAPI_RAW_CHECK(condition, message) \ macro
|
D | runfiles_bazel.cc | 31 SAPI_RAW_CHECK(runfiles != nullptr, error.c_str()); in GetDataDependencyFilePath()
|
D | raw_logging.cc | 138 SAPI_RAW_CHECK(absl::SimpleAtoi(env_var, &external_verbose_level) && in VLogIsOn()
|