Home
last modified time | relevance | path

Searched defs:policydb (Results 1 – 10 of 10) sorted by relevance

/system/sepolicy/tools/sepolicy-analyze/
Dattribute.c9 static void retrieve_mapping(policydb_t *policydb, struct type_datum *dat, char *name, int reverse)… in retrieve_mapping()
30 static int list_attribute(policydb_t *policydb, char *name, int reverse) in list_attribute()
70 static int list_all_attributes(policydb_t *policydb) { in list_all_attributes()
74 int attribute_func (int argc, char **argv, policydb_t *policydb) { in attribute_func()
Dperm.c7 static int list_permissive(policydb_t * policydb) in list_permissive()
24 int permissive_func (int argc, __attribute__ ((unused)) char **argv, policydb_t *policydb) { in permissive_func()
Dneverallow.c20 static int read_typeset(policydb_t *policydb, char **ptr, char *end, in read_typeset()
182 static int read_classperms(policydb_t *policydb, char **ptr, char *end, in read_classperms()
377 static int check_neverallows(policydb_t *policydb, char *text, char *end) in check_neverallows()
454 static int check_neverallows_file(policydb_t *policydb, const char *filename) in check_neverallows_file()
481 static int check_neverallows_string(policydb_t *policydb, char *string, size_t len) in check_neverallows_string()
489 int neverallow_func (int argc, char **argv, policydb_t *policydb) { in neverallow_func()
Ddups.c15 policydb_t *policydb = args; in find_dups_helper() local
78 static int find_dups(policydb_t * policydb) in find_dups()
85 int dups_func (int argc, __attribute__ ((unused)) char **argv, policydb_t *policydb) { in dups_func()
Dutils.c12 void display_allow(policydb_t *policydb, avtab_key_t *key, int idx, uint32_t perms) in display_allow()
25 bool load_policy(char *filename, policydb_t * policydb, struct policy_file *pf) in load_policy()
Dtypecmp.c120 static int find_match(policydb_t *policydb, struct avtab_node *l1, in find_match()
157 static int analyze_types(policydb_t * policydb, char diff, char equiv) in analyze_types()
274 int typecmp_func (int argc, char **argv, policydb_t *policydb) { in typecmp_func()
Dbooleans.c16 int booleans_func (int argc, __attribute__ ((unused)) char **argv, policydb_t *policydb) { in booleans_func()
Dsepolicy-analyze.c46 policydb_t policydb; in main() local
/system/sepolicy/tools/
Dsepolicy-check.c188 int load_policy(char *filename, policydb_t *policydb, struct policy_file *pf) { in load_policy()
236 policydb_t policydb; in main() local
Dcheckfc.c72 static int get_attr_bit(policydb_t *policydb, const char *attr_name) in get_attr_bit()
109 static bool is_type_of_attribute_set(policydb_t *policydb, const char *type_name, in is_type_of_attribute_set()