Searched refs:hostbase_fd (Results 1 – 1 of 1) sorted by relevance
106 static int hostbase_fd = -1; variable175 if (hostbase_fd == -1) in cb_open()187 fd = openat(hostbase_fd, filename, O_RDONLY | O_RESOLVE_BENEATH); in cb_open()751 if (hostbase_fd != -1) in hostbase_open()752 close(hostbase_fd); in hostbase_open()753 hostbase_fd = open(base, O_DIRECTORY | O_PATH); in hostbase_open()754 if (hostbase_fd == -1) in hostbase_open()757 if (caph_rights_limit(hostbase_fd, cap_rights_init(&rights, CAP_FSTATAT, in hostbase_open()