Lines Matching refs:policydb
236 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);
325 policydb_filenametr_search(struct policydb *p, struct filename_trans_key *key);
327 extern struct mls_range *policydb_rangetr_search(struct policydb *p,
331 policydb_roletr_search(struct policydb *p, struct role_trans_key *key);
351 struct policydb *p;
383 static inline char *sym_name(struct policydb *p, unsigned int sym_num, in sym_name()
389 extern u16 string_to_security_class(struct policydb *p, const char *name);
390 extern u32 string_to_av_perm(struct policydb *p, u16 tclass, const char *name);