Lines Matching defs:policydb
3 * A policy database (policydb) specifies the
239 struct policydb {
318 extern void policydb_destroy(struct policydb *p);
319 extern int policydb_load_isids(struct policydb *p, struct sidtab *s);
320 extern int policydb_context_isvalid(struct policydb *p, struct context *c);
321 extern int policydb_class_isvalid(struct policydb *p, unsigned int class);
322 extern int policydb_type_isvalid(struct policydb *p, unsigned int type);
323 extern int policydb_role_isvalid(struct policydb *p, unsigned int role);
324 extern int policydb_read(struct policydb *p, void *fp);
325 extern int policydb_write(struct policydb *p, void *fp);
328 struct policydb *p, struct filename_trans_key *key);
331 struct policydb *p, struct range_trans *key);
334 struct policydb *p, struct role_trans_key *key);
354 struct policydb *p;
382 static inline char *sym_name(struct policydb *p, unsigned int sym_num, unsigned int element_nr)
387 extern u16 string_to_security_class(struct policydb *p, const char *name);
388 extern u32 string_to_av_perm(struct policydb *p, u16 tclass, const char *name);