Searched defs:policydb (Results 1 - 2 of 2) sorted by relevance

/security/selinux/ss/
H A Dpolicydb.h2 * A policy database (policydb) specifies the
228 struct policydb { struct
304 extern void policydb_destroy(struct policydb *p);
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 *
[all...]
H A Dservices.c62 #include "policydb.h"
80 struct policydb policydb; variable in typeref:struct:policydb
110 static int selinux_set_mapping(struct policydb *pol,
258 return policydb.mls_enabled;
316 r1 = policydb.role_val_to_struct[val1 - 1];
317 r2 = policydb.role_val_to_struct[val2 - 1];
482 tclass_name = sym_name(&policydb, SYM_CLASSES, tclass - 1);
483 tclass_dat = policydb.class_val_to_struct[tclass - 1];
552 source = flex_array_get_ptr(policydb
[all...]

Completed in 5 milliseconds