Searched refs:devnull (Results 1 – 17 of 17) sorted by relevance
326 int devnull = TEMP_FAILURE_RETRY(open("/dev/null", O_RDWR)); in debuggerd_dispatch_pseudothread() local327 if (devnull == -1) { in debuggerd_dispatch_pseudothread()329 } else if (devnull != 0) { in debuggerd_dispatch_pseudothread()330 fatal_errno("expected /dev/null fd to be 0, actually %d", devnull); in debuggerd_dispatch_pseudothread()334 TEMP_FAILURE_RETRY(dup2(devnull, 1)); in debuggerd_dispatch_pseudothread()335 TEMP_FAILURE_RETRY(dup2(devnull, 2)); in debuggerd_dispatch_pseudothread()
33 sid devnull
27 sid devnull u:object_r:null_device:s0
587 unique_fd devnull(TEMP_FAILURE_RETRY(open("/dev/null", O_RDWR))); in main() local588 TEMP_FAILURE_RETRY(dup2(devnull.get(), STDOUT_FILENO)); in main()589 g_output_fd = std::move(devnull); in main()
66 static CrashArtifact devnull() { in devnull() function290 crash->output.proto = CrashArtifact::devnull(); in perform_request()