Searched refs:logfile_fd (Results 1 – 1 of 1) sorted by relevance
55 static int logfile_fd = INVALID_FD; variable108 if (logfile_fd == INVALID_FD) in capture()174 …logfile_fd = open(log_path, O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | … in update_logging()175 if (logfile_fd == INVALID_FD) { in update_logging()181 write(logfile_fd, "btsnoop\0\0\0\0\1\0\0\x3\xea", 16); in update_logging()183 if (logfile_fd != INVALID_FD) in update_logging()184 close(logfile_fd); in update_logging()186 logfile_fd = INVALID_FD; in update_logging()192 if (logfile_fd != INVALID_FD) in btsnoop_write()193 write(logfile_fd, data, length); in btsnoop_write()