Home
last modified time | relevance | path

Searched refs:symtab (Results 1 – 7 of 7) sorted by relevance

/security/selinux/ss/
Dpolicydb.h48 struct symtab permissions; /* common permissions */
56 struct symtab permissions; /* class-specific permission symbol table */
245 struct symtab symtab[SYM_NUM]; member
246 #define p_commons symtab[SYM_COMMONS]
247 #define p_classes symtab[SYM_CLASSES]
248 #define p_roles symtab[SYM_ROLES]
249 #define p_types symtab[SYM_TYPES]
250 #define p_users symtab[SYM_USERS]
251 #define p_bools symtab[SYM_BOOLS]
252 #define p_levels symtab[SYM_LEVELS]
[all …]
Dsymtab.h15 struct symtab { struct
20 int symtab_init(struct symtab *s, unsigned int size); argument
22 int symtab_insert(struct symtab *s, char *name, void *datum);
23 void *symtab_search(struct symtab *s, const char *name);
Dsymtab.c40 int symtab_init(struct symtab *s, unsigned int size) in symtab_init()
46 int symtab_insert(struct symtab *s, char *name, void *datum) in symtab_insert()
51 void *symtab_search(struct symtab *s, const char *name) in symtab_search()
Dconditional.h72 int cond_read_bool(struct policydb *p, struct symtab *s, void *fp);
Dpolicydb.c698 static void symtab_hash_eval(struct symtab *s) in symtab_hash_eval()
736 symtab_hash_eval(p->symtab); in policydb_index()
768 p->sym_val_to_name[i] = kvcalloc(p->symtab[i].nprim, in policydb_index()
774 rc = hashtab_map(&p->symtab[i].table, index_f[i], p); in policydb_index()
795 hashtab_map(&p->symtab[i].table, destroy_f[i], NULL); in policydb_destroy()
796 hashtab_destroy(&p->symtab[i].table); in policydb_destroy()
1098 static int perm_read(struct policydb *p, struct symtab *s, void *fp) in perm_read()
1131 static int common_read(struct policydb *p, struct symtab *s, void *fp) in common_read()
1295 static int class_read(struct policydb *p, struct symtab *s, void *fp) in class_read()
1390 static int role_read(struct policydb *p, struct symtab *s, void *fp) in role_read()
[all …]
Dconditional.c208 int cond_read_bool(struct policydb *p, struct symtab *s, void *fp) in cond_read_bool()
/security/selinux/
DMakefile10 ss/ebitmap.o ss/hashtab.o ss/symtab.o ss/sidtab.o ss/avtab.o \