Searched refs:fd_t (Results 1 – 1 of 1) sorted by relevance
85 typedef int fd_t; typedef1094 static void close_all_fds(const std::vector<fd_t>& fds, const char* description) { in close_all_fds()1102 static fd_t open_profile_dir(const std::string& profile_dir) { in open_profile_dir()1103 fd_t profile_dir_fd = TEMP_FAILURE_RETRY(open(profile_dir.c_str(), in open_profile_dir()1116 static fd_t open_primary_profile_file_from_dir(const std::string& profile_dir, mode_t open_mode) { in open_primary_profile_file_from_dir()1117 fd_t profile_dir_fd = open_profile_dir(profile_dir); in open_primary_profile_file_from_dir()1122 fd_t profile_fd = -1; in open_primary_profile_file_from_dir()1139 static fd_t open_primary_profile_file(userid_t user, const char* pkgname) { in open_primary_profile_file()1144 static fd_t open_reference_profile(uid_t uid, const char* pkgname, bool read_write) { in open_reference_profile()1147 fd_t fd = open_primary_profile_file_from_dir(reference_profile_dir, flags); in open_reference_profile()[all …]