Searched refs:devnull (Results 1 – 7 of 7) sorted by relevance
33 sid devnull
27 sid devnull u:object_r:null_device:s0
345 int devnull = TEMP_FAILURE_RETRY(open("/dev/null", O_RDWR)); in debuggerd_dispatch_pseudothread() local346 if (devnull == -1) { in debuggerd_dispatch_pseudothread()348 } else if (devnull != 0) { in debuggerd_dispatch_pseudothread()349 fatal_errno("expected /dev/null fd to be 0, actually %d", devnull); in debuggerd_dispatch_pseudothread()353 TEMP_FAILURE_RETRY(dup2(devnull, 1)); in debuggerd_dispatch_pseudothread()354 TEMP_FAILURE_RETRY(dup2(devnull, 2)); in debuggerd_dispatch_pseudothread()
742 unique_fd devnull(TEMP_FAILURE_RETRY(open("/dev/null", O_RDWR))); in main() local743 TEMP_FAILURE_RETRY(dup2(devnull.get(), STDOUT_FILENO)); in main()744 g_output_fd = std::move(devnull); in main()
65 static CrashArtifact devnull() { in devnull() function290 crash->output.proto = CrashArtifact::devnull(); in perform_request()