Searched refs:sym_name (Results 1 – 4 of 4) sorted by relevance
/security/selinux/ss/ |
D | mls.c | 49 len += strlen(sym_name(&policydb, SYM_LEVELS, index_sens - 1)); in mls_compute_context_len() 59 nm = sym_name(&policydb, SYM_CATS, prev); in mls_compute_context_len() 62 nm = sym_name(&policydb, SYM_CATS, i); in mls_compute_context_len() 69 nm = sym_name(&policydb, SYM_CATS, prev); in mls_compute_context_len() 106 strcpy(scontextp, sym_name(&policydb, SYM_LEVELS, in mls_sid_to_context() 122 nm = sym_name(&policydb, SYM_CATS, prev); in mls_sid_to_context() 130 nm = sym_name(&policydb, SYM_CATS, i); in mls_sid_to_context() 143 nm = sym_name(&policydb, SYM_CATS, prev); in mls_sid_to_context() 168 sym_name(p, SYM_LEVELS, l->sens - 1)); in mls_level_isvalid() 478 sym_name(oldp, SYM_LEVELS, in mls_convert_context() [all …]
|
D | services.c | 496 tclass_name = sym_name(&policydb, SYM_CLASSES, tclass - 1); in security_dump_masked_av() 758 o, n, t, sym_name(&policydb, SYM_CLASSES, tclass-1)); in security_validtrans_handle_fail() 1215 *scontext_len += strlen(sym_name(&policydb, SYM_USERS, context->user - 1)) + 1; in context_struct_to_string() 1216 *scontext_len += strlen(sym_name(&policydb, SYM_ROLES, context->role - 1)) + 1; in context_struct_to_string() 1217 *scontext_len += strlen(sym_name(&policydb, SYM_TYPES, context->type - 1)) + 1; in context_struct_to_string() 1233 sym_name(&policydb, SYM_USERS, context->user - 1), in context_struct_to_string() 1234 sym_name(&policydb, SYM_ROLES, context->role - 1), in context_struct_to_string() 1235 sym_name(&policydb, SYM_TYPES, context->type - 1)); in context_struct_to_string() 1542 n, s, t, sym_name(&policydb, SYM_CLASSES, tclass-1)); in compute_sid_handle_invalid_context() 1917 sym_name(args->oldp, SYM_USERS, c->user - 1)); in convert_context() [all …]
|
D | policydb.h | 372 static inline char *sym_name(struct policydb *p, unsigned int sym_num, unsigned int element_nr) in sym_name() function
|
D | policydb.c | 1705 sym_name(p, SYM_USERS, user->value - 1), in user_bounds_sanity_check() 1706 sym_name(p, SYM_ROLES, bit), in user_bounds_sanity_check() 1707 sym_name(p, SYM_USERS, upper->value - 1)); in user_bounds_sanity_check() 1742 sym_name(p, SYM_ROLES, role->value - 1), in role_bounds_sanity_check() 1743 sym_name(p, SYM_TYPES, bit), in role_bounds_sanity_check() 1744 sym_name(p, SYM_ROLES, upper->value - 1)); in role_bounds_sanity_check() 1776 sym_name(p, SYM_TYPES, upper->value - 1)); in type_bounds_sanity_check()
|