• Home
  • Raw
  • Download

Lines Matching refs:policydb

371 static int roles_init(struct policydb *p)  in roles_init()
468 static int policydb_init(struct policydb *p) in policydb_init()
532 struct policydb *p; in common_index()
547 struct policydb *p; in class_index()
562 struct policydb *p; in role_index()
579 struct policydb *p; in type_index()
599 struct policydb *p; in user_index()
616 struct policydb *p; in sens_index()
635 struct policydb *p; in cat_index()
694 static int policydb_index(struct policydb *p) in policydb_index()
762 void policydb_destroy(struct policydb *p) in policydb_destroy()
850 int policydb_load_isids(struct policydb *p, struct sidtab *s) in policydb_load_isids()
895 int policydb_class_isvalid(struct policydb *p, unsigned int class) in policydb_class_isvalid()
902 int policydb_role_isvalid(struct policydb *p, unsigned int role) in policydb_role_isvalid()
909 int policydb_type_isvalid(struct policydb *p, unsigned int type) in policydb_type_isvalid()
920 int policydb_context_isvalid(struct policydb *p, struct context *c) in policydb_context_isvalid()
1025 struct policydb *p, in context_read_and_validate()
1087 static int perm_read(struct policydb *p, struct hashtab *h, void *fp) in perm_read()
1120 static int common_read(struct policydb *p, struct hashtab *h, void *fp) in common_read()
1189 static int read_cons_helper(struct policydb *p, in read_cons_helper()
1285 static int class_read(struct policydb *p, struct hashtab *h, void *fp) in class_read()
1379 static int role_read(struct policydb *p, struct hashtab *h, void *fp) in role_read()
1435 static int type_read(struct policydb *p, struct hashtab *h, void *fp) in type_read()
1509 static int user_read(struct policydb *p, struct hashtab *h, void *fp) in user_read()
1559 static int sens_read(struct policydb *p, struct hashtab *h, void *fp) in sens_read()
1600 static int cat_read(struct policydb *p, struct hashtab *h, void *fp) in cat_read()
1633 static int (*read_f[SYM_NUM]) (struct policydb *p, struct hashtab *h, void *fp) =
1648 struct policydb *p = datap; in user_bounds_sanity_check()
1684 struct policydb *p = datap; in role_bounds_sanity_check()
1720 struct policydb *p = datap; in type_bounds_sanity_check()
1747 static int policydb_bounds_sanity_check(struct policydb *p) in policydb_bounds_sanity_check()
1772 u16 string_to_security_class(struct policydb *p, const char *name) in string_to_security_class()
1783 u32 string_to_av_perm(struct policydb *p, u16 tclass, const char *name) in string_to_av_perm()
1806 static int range_read(struct policydb *p, void *fp) in range_read()
1878 static int filename_trans_read(struct policydb *p, void *fp) in filename_trans_read()
1960 static int genfs_read(struct policydb *p, void *fp) in genfs_read()
2073 static int ocontext_read(struct policydb *p, struct policydb_compat_info *info, in ocontext_read()
2259 int policydb_read(struct policydb *p, void *fp) in policydb_read()
2662 static int role_trans_write(struct policydb *p, void *fp) in role_trans_write()
2723 static int context_write(struct policydb *p, struct context *c, in context_write()
2820 static int write_cons_helper(struct policydb *p, struct constraint_node *node, in write_cons_helper()
2873 struct policydb *p = pd->p; in class_write()
2961 struct policydb *p = pd->p; in role_write()
2999 struct policydb *p = pd->p; in type_write()
3040 struct policydb *p = pd->p; in user_write()
3089 static int ocontext_write(struct policydb *p, struct policydb_compat_info *info, in ocontext_write()
3219 static int genfs_write(struct policydb *p, void *fp) in genfs_write()
3286 struct policydb *p = pd->p; in range_write_helper()
3307 static int range_write(struct policydb *p, void *fp) in range_write()
3366 static int filename_trans_write(struct policydb *p, void *fp) in filename_trans_write()
3397 int policydb_write(struct policydb *p, void *fp) in policydb_write()