HomeSort by relevance Sort by last modified time
    Searched refs:policy_path (Results 1 - 5 of 5) sorted by null

  /system/sepolicy/tests/include/
sepol_wrap.h 7 bool init_libsepol(const char *policy_path);
8 void *load_policy(const char *policy_path);
  /external/selinux/python/audit2allow/
sepolgen-ifgen 54 parser.add_option("-p", "--policy", dest="policy_path")
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/
selinux_config.c 352 static char policy_path[PATH_MAX]; local
355 snprintf(policy_path, sizeof(policy_path), "%s/policy", selinux_mnt);
356 if (access(policy_path, F_OK) == 0 ) {
357 return policy_path;
363 snprintf(policy_path, sizeof(policy_path), "%s.%d",
365 } while ((rc = access(policy_path, F_OK)) && --vers > 0);
368 return policy_path;
  /system/sepolicy/tests/
sepol_wrap.cpp 96 void *load_policy(const char *policy_path)
101 fp = fopen(policy_path, "re");
103 std::cerr << "Invalid or non-existing policy file: " << policy_path << std::endl;
  /external/libbrillo/policy/tests/
libpolicy_unittest.cc 30 MockDevicePolicyImpl(const base::FilePath& policy_path,
34 policy_path_ = policy_path;

Completed in 708 milliseconds