Lines Matching refs:policydb
228 struct policydb { struct
304 extern void policydb_destroy(struct policydb *p); argument
305 extern int policydb_load_isids(struct policydb *p, struct sidtab *s);
306 extern int policydb_context_isvalid(struct policydb *p, struct context *c);
307 extern int policydb_class_isvalid(struct policydb *p, unsigned int class);
308 extern int policydb_type_isvalid(struct policydb *p, unsigned int type);
309 extern int policydb_role_isvalid(struct policydb *p, unsigned int role);
310 extern int policydb_read(struct policydb *p, void *fp);
311 extern int policydb_write(struct policydb *p, void *fp);
333 struct policydb *p;
359 static inline char *sym_name(struct policydb *p, unsigned int sym_num, unsigned int element_nr) in sym_name()
366 extern u16 string_to_security_class(struct policydb *p, const char *name);
367 extern u32 string_to_av_perm(struct policydb *p, u16 tclass, const char *name);