/external/libsepol/src/ |
D | write.c | 49 struct policy_file *fp; 53 static int avrule_write_list(avrule_t * avrules, struct policy_file *fp); 55 static int ebitmap_write(ebitmap_t * e, struct policy_file *fp) in ebitmap_write() 100 avtab_ptr_t cur, struct policy_file *fp, in avtab_write_item() 240 static int avtab_write(struct policydb *p, avtab_t * a, struct policy_file *fp) in avtab_write() 316 struct policy_file *fp) in mls_write_semantic_level_helper() 347 struct policy_file *fp) in mls_write_semantic_range_helper() 364 static int mls_write_level(mls_level_t * l, struct policy_file *fp) in mls_write_level() 384 static int mls_write_range_helper(mls_range_t * r, struct policy_file *fp) in mls_write_range_helper() 417 struct policy_file *fp = pd->fp; in sens_write() [all …]
|
D | policydb_public.c | 20 struct policy_file *pf = &spf->pf; in sepol_policy_file_set_mem() 34 struct policy_file *pf = &spf->pf; in sepol_policy_file_set_fp() 42 struct policy_file *pf = &spf->pf; in sepol_policy_file_get_len()
|
D | private.h | 62 extern int next_entry(void *buf, struct policy_file *fp, size_t bytes) hidden; 64 struct policy_file *fp) hidden;
|
D | policydb.c | 1593 static int role_set_read(role_set_t * r, struct policy_file *fp) in role_set_read() 1608 static int type_set_read(type_set_t * t, struct policy_file *fp) in type_set_read() 1630 static int mls_read_range_helper(mls_range_t * r, struct policy_file *fp) in mls_read_range_helper() 1688 struct policy_file *fp) in mls_read_semantic_level_helper() 1736 struct policy_file *fp) in mls_read_semantic_range_helper() 1799 policydb_t * p, struct policy_file *fp) in context_read_and_validate() 1839 struct policy_file *fp) in perm_read() 1876 static int common_read(policydb_t * p, hashtab_t h, struct policy_file *fp) in common_read() 1926 int allowxtarget, struct policy_file *fp) in read_cons_helper() 2015 static int class_read(policydb_t * p, hashtab_t h, struct policy_file *fp) in class_read() [all …]
|
D | module.c | 39 static int policy_file_seek(struct policy_file *fp, size_t offset) in policy_file_seek() 62 static size_t policy_file_length(struct policy_file *fp) in policy_file_length() 326 static int read_helper(char *buf, struct policy_file *file, uint32_t bytes) in read_helper() 353 struct policy_file *file, in module_package_read_offsets() 443 struct policy_file *file = &spf->pf; in sepol_module_package_read() 628 struct policy_file *file = &spf->pf; in sepol_module_package_info() 830 static int write_helper(char *data, size_t len, struct policy_file *file) in write_helper() 853 struct policy_file *file = &spf->pf; in sepol_module_package_write()
|
D | genbools.c | 152 struct policy_file pf; 213 struct policy_file pf;
|
D | services.c | 87 struct policy_file pf; in sepol_set_policydb_from_file() 934 int hidden next_entry(void *buf, struct policy_file *fp, size_t bytes) in next_entry() 959 struct policy_file *fp) in put_entry() 1008 struct policy_file file, *fp; in sepol_load_policy()
|
D | avtab.c | 369 int avtab_read_item(struct policy_file *fp, uint32_t vers, avtab_t * a, in avtab_read_item() 490 int avtab_read(avtab_t * a, struct policy_file *fp, uint32_t vers) in avtab_read()
|
D | conditional.c | 569 struct policy_file *fp) in cond_read_bool()
|
/external/libsepol/tests/ |
D | test-downgrade.c | 206 struct policy_file f; in read_binary_policy() 218 memset(&f, 0, sizeof(struct policy_file)); in read_binary_policy() 243 struct policy_file f; in write_binary_policy() 264 memset(&f, 0, sizeof(struct policy_file)); in write_binary_policy()
|
/external/libsepol/include/sepol/policydb/ |
D | avtab.h | 101 struct policy_file; 102 extern int avtab_read_item(struct policy_file *fp, uint32_t vers, avtab_t * a, 106 extern int avtab_read(avtab_t * a, struct policy_file *fp, uint32_t vers);
|
D | policydb.h | 641 typedef struct policy_file { struct 654 struct policy_file pf; argument 659 extern int policydb_read(policydb_t * p, struct policy_file *fp, 662 struct policy_file *fp); 664 extern int policydb_write(struct policydb *p, struct policy_file *pf);
|
D | conditional.h | 129 extern int cond_read_bool(policydb_t * p, hashtab_t h, struct policy_file *fp);
|
/external/chromium/chrome/browser/chromeos/ |
D | plugin_selection_policy_unittest.cc | 88 FilePath policy_file = GetPolicyPath(name); in CreatePolicy() local 89 size_t bytes_written = file_util::WriteFile(policy_file, in CreatePolicy() 93 *path = policy_file; in CreatePolicy() 99 FilePath policy_file(temp_dir_.path()); in GetPolicyPath() local 100 return policy_file.Append(FilePath(name)); in GetPolicyPath()
|
D | plugin_selection_policy.cc | 52 bool PluginSelectionPolicy::InitFromFile(const FilePath& policy_file) { in InitFromFile() argument 59 if (!file_util::ReadFileToString(policy_file, &data)) { in InitFromFile() 61 << policy_file.value() << "\"."; in InitFromFile()
|
D | plugin_selection_policy.h | 69 bool InitFromFile(const FilePath& policy_file);
|
/external/sepolicy/tools/ |
D | check_seapp.c | 119 FILE *policy_file; /** file handle to the policy file */ member 143 .policy_file = NULL, 274 if (!pol.policy_file) { in key_map_validate() 599 pol.policy_file = fopen(pol.policy_file_name, "rb"); in init() 600 if (!pol.policy_file) { in init() 619 sepol_policy_file_set_fp(pol.pf, pol.policy_file); in init() 955 if (pol.policy_file) { in cleanup() 958 fclose(pol.policy_file); in cleanup()
|
/external/checkpolicy/ |
D | checkmodule.c | 55 struct policy_file f, *fp; in read_binary_policy() 114 struct policy_file pf; in write_binary_policy()
|
D | checkpolicy.c | 398 struct policy_file pf; in main()
|
D | ChangeLog | 102 * Initialize struct policy_file before using it, from Todd C. Miller.
|
/external/libsepol/ |
D | ChangeLog | 118 * Drop unused ->buffer field from struct policy_file. 121 * Add policy_file_init() initalizer for struct policy_file and use it, from Todd C. Miller. 540 new public types for policydb and policy_file.
|
/external/checkpolicy/test/ |
D | dispol.c | 404 struct policy_file pf; in main()
|
D | dismod.c | 703 struct policy_file f; in read_policy()
|