Lines Matching refs:policydb
239 struct policydb { struct
315 extern void policydb_destroy(struct policydb *p); argument
316 extern int policydb_load_isids(struct policydb *p, struct sidtab *s);
317 extern int policydb_context_isvalid(struct policydb *p, struct context *c);
318 extern int policydb_class_isvalid(struct policydb *p, unsigned int class);
319 extern int policydb_type_isvalid(struct policydb *p, unsigned int type);
320 extern int policydb_role_isvalid(struct policydb *p, unsigned int role);
321 extern int policydb_read(struct policydb *p, void *fp);
322 extern int policydb_write(struct policydb *p, void *fp);
344 struct policydb *p;
370 static inline char *sym_name(struct policydb *p, unsigned int sym_num, unsigned int element_nr) in sym_name()
377 extern u16 string_to_security_class(struct policydb *p, const char *name);
378 extern u32 string_to_av_perm(struct policydb *p, u16 tclass, const char *name);