Searched refs:policy_path (Results 1 – 1 of 1) sorted by relevance
344 static char policy_path[PATH_MAX]; in selinux_current_policy_path() local347 snprintf(policy_path, sizeof(policy_path), "%s/policy", selinux_mnt); in selinux_current_policy_path()348 if (access(policy_path, F_OK) == 0 ) { in selinux_current_policy_path()349 return policy_path; in selinux_current_policy_path()355 snprintf(policy_path, sizeof(policy_path), "%s.%d", in selinux_current_policy_path()357 } while ((rc = access(policy_path, F_OK)) && --vers > 0); in selinux_current_policy_path()360 return policy_path; in selinux_current_policy_path()