Searched refs:klog_fd (Results 1 – 2 of 2) sorted by relevance
49 static int klog_fd = __open_klog(); in klog_writev() local50 if (klog_fd == -1) return; in klog_writev()51 TEMP_FAILURE_RETRY(writev(klog_fd, iov, iov_count)); in klog_writev()
166 static int klog_fd = TEMP_FAILURE_RETRY(open("/dev/kmsg", O_WRONLY | O_CLOEXEC)); in KernelLogger() local167 if (klog_fd == -1) return; in KernelLogger()184 TEMP_FAILURE_RETRY(writev(klog_fd, iov, 1)); in KernelLogger()