Home
last modified time | relevance | path

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

/system/sepolicy/tools/sepolicy-analyze/
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()
185 static int read_classperms(policydb_t *policydb, char **ptr, char *end, in read_classperms()
370 static int check_neverallows(policydb_t *policydb, char *text, char *end) in check_neverallows()
439 static int check_neverallows_file(policydb_t *policydb, const char *filename) in check_neverallows_file()
466 static int check_neverallows_string(policydb_t *policydb, char *string, size_t len) in check_neverallows_string()
474 int neverallow_func (int argc, char **argv, policydb_t *policydb) { in neverallow_func()
Dattribute.c7 static int list_attribute(policydb_t * policydb, char *name) in list_attribute()
33 int attribute_func (int argc, char **argv, policydb_t *policydb) { in attribute_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 int 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()
267 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.c64 static int get_attr_bit(policydb_t *policydb, const char *attr_name) in get_attr_bit()
101 static bool is_type_of_attribute_set(policydb_t *policydb, const char *type_name, in is_type_of_attribute_set()