/external/libbrillo/policy/ |
D | policy_util.cc | 13 const base::FilePath& policy_path, in LoadPolicyFromPath() argument 18 if (!base::PathExists(policy_path)) { in LoadPolicyFromPath() 22 if (!base::ReadFileToString(policy_path, policy_data_str_out)) { in LoadPolicyFromPath() 23 PLOG(ERROR) << "Could not read policy off disk at " << policy_path.value(); in LoadPolicyFromPath() 28 LOG(ERROR) << "Empty policy file at " << policy_path.value(); in LoadPolicyFromPath() 34 << policy_path.value(); in LoadPolicyFromPath()
|
D | resilient_policy_util.cc | 39 bool ParseResilientPolicyFilePath(const base::FilePath& policy_path, in ParseResilientPolicyFilePath() argument 42 if (!base::StartsWith(policy_path.value(), default_policy_path.value(), in ParseResilientPolicyFilePath() 47 if (policy_path == default_policy_path) { in ParseResilientPolicyFilePath() 53 policy_path.value().substr(default_policy_path.value().size()); in ParseResilientPolicyFilePath()
|
D | device_policy_impl.h | 108 void set_policy_path_for_testing(const base::FilePath& policy_path) { in set_policy_path_for_testing() argument 109 policy_path_ = policy_path; in set_policy_path_for_testing() 120 bool VerifyPolicyFile(const base::FilePath& policy_path); 127 bool LoadPolicyFromFile(const base::FilePath& policy_path);
|
D | device_policy_impl.cc | 195 const base::FilePath& policy_path = map_pair.second; in LoadPolicy() local 196 if (LoadPolicyFromFile(policy_path)) { in LoadPolicy() 707 bool DevicePolicyImpl::VerifyPolicyFile(const base::FilePath& policy_path) { in VerifyPolicyFile() argument 713 if (!base::PathExists(policy_path) || !base::PathExists(keyfile_path_)) { in VerifyPolicyFile() 719 stat(policy_path.value().c_str(), &file_stat); in VerifyPolicyFile() 751 bool DevicePolicyImpl::LoadPolicyFromFile(const base::FilePath& policy_path) { in LoadPolicyFromFile() argument 753 if (policy::LoadPolicyFromPath(policy_path, &policy_data_str, &policy_) != in LoadPolicyFromFile() 776 if (verify_policy && !VerifyPolicyFile(policy_path)) { in LoadPolicyFromFile()
|
D | policy_util.h | 32 const base::FilePath& policy_path,
|
D | resilient_policy_util.h | 34 const base::FilePath& policy_path,
|
/external/selinux/python/audit2allow/ |
D | sepolgen-ifgen | 82 def get_attrs(policy_path, attr_helper): 84 if not policy_path: 85 policy_path = get_policy() 86 if not policy_path: 98 ret = subprocess.Popen([attr_helper, policy_path, outfile.name], stdout=fd).wait() 132 attrs = get_attrs(options.policy_path, options.attr_helper)
|
/external/selinux/libselinux/src/ |
D | selinux_config.c | 349 static char policy_path[PATH_MAX]; in hidden_def() local 352 snprintf(policy_path, sizeof(policy_path), "%s/policy", selinux_mnt); in hidden_def() 353 if (access(policy_path, F_OK) == 0 ) { in hidden_def() 354 return policy_path; in hidden_def() 360 snprintf(policy_path, sizeof(policy_path), "%s.%d", in hidden_def() 362 } while ((rc = access(policy_path, F_OK)) && --vers > 0); in hidden_def() 365 return policy_path; in hidden_def()
|
/external/autotest/client/site_tests/policy_ExtensionPolicy/ |
D | policy_ExtensionPolicy.py | 27 policy_path = os.path.join(self.enterprise_dir, POLICY_FILE) 29 self.CHECKSUM = self.sha256sum(policy_path)
|
/external/libbrillo/policy/tests/ |
D | libpolicy_test.cc | 31 const base::FilePath& policy_path, in CreateDevicePolicyImpl() argument 37 device_policy->set_policy_path_for_testing(policy_path); in CreateDevicePolicyImpl()
|
/external/selinux/python/sepolicy/sepolicy/ |
D | __init__.py | 120 def policy_sortkey(policy_path): argument 122 extension = policy_path.rsplit('/policy.', 1)[1] 124 return int(extension), policy_path 127 return 0, policy_path
|
/external/crosvm/src/plugin/ |
D | mod.rs | 629 let policy_path = cfg.seccomp_policy_dir.join("plugin"); in run_config() localVariable 630 let mut jail = create_plugin_jail(root_path, cfg.seccomp_log_failures, &policy_path)?; in run_config()
|
/external/tpm2-tss/src/tss2-fapi/ |
D | fapi_int.h | 352 char *policy_path; member
|
/external/crosvm/src/ |
D | linux.rs | 477 let policy_path: PathBuf = cfg.seccomp_policy_dir.join(policy); in simple_jail() localVariable 481 seccomp_policy: &policy_path, in simple_jail()
|