Home
last modified time | relevance | path

Searched refs:policy_file (Results 1 – 7 of 7) sorted by relevance

/system/core/property_service/property_info_checker/
Dproperty_info_checker.cpp47 bool Initialize(const char* policy_file) { in Initialize() argument
48 policy_file_ = fopen(policy_file, "re"); in Initialize()
50 std::cerr << "Could not open policy file, " << policy_file << std::endl; in Initialize()
/system/sepolicy/tools/sepolicy-analyze/
Dutils.h14 bool load_policy(char *filename, policydb_t * policydb, struct policy_file *pf);
Dsepolicy-analyze.c45 struct policy_file pf; in main()
Dutils.c25 bool load_policy(char *filename, policydb_t * policydb, struct policy_file *pf) in load_policy()
/system/sepolicy/tools/
Dcheck_seapp.c145 FILE *policy_file; /** file handle to the policy file */ member
172 .policy_file = NULL,
392 if (!pol.policy_file) { in validate_selinux_type()
410 if (!pol.policy_file) { in validate_selinux_level()
886 pol.policy_file = fopen(pol.policy_file_name, "rb"); in init()
887 if (!pol.policy_file) { in init()
906 sepol_policy_file_set_fp(pol.pf, pol.policy_file); in init()
1239 if (pol.policy_file) { in cleanup()
1242 fclose(pol.policy_file); in cleanup()
Dsepolicy-check.c188 int load_policy(char *filename, policydb_t *policydb, struct policy_file *pf) { in load_policy()
237 struct policy_file pf; in main()
/system/sepolicy/tests/
Dsepol_wrap.cpp231 struct policy_file pf; in load_policy()