Searched refs:policy_path (Results 1 – 3 of 3) sorted by relevance
/external/selinux/policycoreutils/audit2allow/ |
D | sepolgen-ifgen | 80 def get_attrs(policy_path): 82 if not policy_path: 83 policy_path = get_policy() 84 if not policy_path: 96 ret = subprocess.Popen([ATTR_HELPER, policy_path, outfile.name], stdout=fd).wait() 130 attrs = get_attrs(options.policy_path)
|
/external/selinux/libselinux/src/ |
D | selinux_config.c | 350 static char policy_path[PATH_MAX]; in hidden_def() local 353 snprintf(policy_path, sizeof(policy_path), "%s/policy", selinux_mnt); in hidden_def() 354 if (access(policy_path, F_OK) == 0 ) { in hidden_def() 355 return policy_path; in hidden_def() 361 snprintf(policy_path, sizeof(policy_path), "%s.%d", in hidden_def() 363 } while ((rc = access(policy_path, F_OK)) && --vers > 0); in hidden_def() 366 return policy_path; in hidden_def()
|
/external/libbrillo/policy/tests/ |
D | libpolicy_unittest.cc | 30 MockDevicePolicyImpl(const base::FilePath& policy_path, in MockDevicePolicyImpl() argument 34 policy_path_ = policy_path; in MockDevicePolicyImpl()
|