Home
last modified time | relevance | path

Searched refs:policy_path (Results 1 – 2 of 2) sorted by relevance

/external/selinux/policycoreutils/audit2allow/
Dsepolgen-ifgen77 def get_attrs(policy_path):
79 if not policy_path:
80 policy_path = get_policy()
81 if not policy_path:
93 ret = subprocess.Popen([ATTR_HELPER, policy_path, outfile.name], stdout=fd).wait()
126 attrs = get_attrs(options.policy_path)
/external/selinux/libselinux/src/
Dselinux_config.c351 static char policy_path[PATH_MAX]; in hidden_def() local
354 snprintf(policy_path, sizeof(policy_path), "%s/policy", selinux_mnt); in hidden_def()
355 if (access(policy_path, F_OK) == 0 ) { in hidden_def()
356 return policy_path; in hidden_def()
362 snprintf(policy_path, sizeof(policy_path), "%s.%d", in hidden_def()
364 } while ((rc = access(policy_path, F_OK)) && --vers > 0); in hidden_def()
367 return policy_path; in hidden_def()