Searched refs:hostbase_fd (Results 1 – 1 of 1) sorted by relevance
106 static int hostbase_fd = -1; variable177 if (hostbase_fd == -1) in cb_open()188 if (fstatat(hostbase_fd, filename, &sb, AT_RESOLVE_BENEATH) < 0) in cb_open()198 fd = openat(hostbase_fd, filename, flags); 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()