Searched refs:pol (Results 1 – 4 of 4) sorted by relevance
/security/selinux/ss/ |
D | avtab.h | 101 int avtab_read_item(struct avtab *a, void *fp, struct policydb *pol, 106 int avtab_read(struct avtab *a, void *fp, struct policydb *pol);
|
D | avtab.c | 389 int avtab_read_item(struct avtab *a, void *fp, struct policydb *pol, in avtab_read_item() argument 396 u32 items, items2, val, vers = pol->policyvers; in avtab_read_item() 491 if (!policydb_type_isvalid(pol, key.source_type) || in avtab_read_item() 492 !policydb_type_isvalid(pol, key.target_type) || in avtab_read_item() 493 !policydb_class_isvalid(pol, key.target_class)) { in avtab_read_item() 543 !policydb_type_isvalid(pol, datum.u.data)) { in avtab_read_item() 556 int avtab_read(struct avtab *a, void *fp, struct policydb *pol) in avtab_read() argument 580 rc = avtab_read_item(a, fp, pol, avtab_insertf, NULL); in avtab_read()
|
D | mls.c | 235 int mls_context_to_sid(struct policydb *pol, in mls_context_to_sid() argument 249 if (!pol->mls_enabled) { in mls_context_to_sid() 283 levdatum = hashtab_search(pol->p_levels.table, scontextp); in mls_context_to_sid() 308 catdatum = hashtab_search(pol->p_cats.table, in mls_context_to_sid() 324 rngdatum = hashtab_search(pol->p_cats.table, rngptr); in mls_context_to_sid()
|
D | services.c | 124 static int selinux_set_mapping(struct policydb *pol, in selinux_set_mapping() argument 159 p_out->value = string_to_security_class(pol, p_in->name); in selinux_set_mapping() 164 if (pol->reject_unknown) in selinux_set_mapping() 178 p_out->perms[k] = string_to_av_perm(pol, p_out->value, in selinux_set_mapping() 184 if (pol->reject_unknown) in selinux_set_mapping() 196 pol->allow_unknown ? "allowed" : "denied"); in selinux_set_mapping() 1326 static int string_to_context_struct(struct policydb *pol, in string_to_context_struct() argument 1356 usrdatum = hashtab_search(pol->p_users.table, scontextp); in string_to_context_struct() 1372 role = hashtab_search(pol->p_roles.table, scontextp); in string_to_context_struct() 1384 typdatum = hashtab_search(pol->p_types.table, scontextp); in string_to_context_struct() [all …]
|