Searched refs:sym_name (Results 1 – 4 of 4) sorted by relevance
/security/selinux/ss/ |
D | mls.c | 49 len += strlen(sym_name(p, SYM_LEVELS, index_sens - 1)); in mls_compute_context_len() 59 nm = sym_name(p, SYM_CATS, prev); in mls_compute_context_len() 62 nm = sym_name(p, SYM_CATS, i); in mls_compute_context_len() 69 nm = sym_name(p, SYM_CATS, prev); in mls_compute_context_len() 107 strcpy(scontextp, sym_name(p, SYM_LEVELS, in mls_sid_to_context() 123 nm = sym_name(p, SYM_CATS, prev); in mls_sid_to_context() 131 nm = sym_name(p, SYM_CATS, i); in mls_sid_to_context() 144 nm = sym_name(p, SYM_CATS, prev); in mls_sid_to_context() 169 sym_name(p, SYM_LEVELS, l->sens - 1)); in mls_level_isvalid() 462 sym_name(oldp, SYM_LEVELS, in mls_convert_context() [all …]
|
D | services.c | 474 tclass_name = sym_name(policydb, SYM_CLASSES, tclass - 1); in security_dump_masked_av() 737 o, n, t, sym_name(p, SYM_CLASSES, tclass-1)); in security_validtrans_handle_fail() 1229 *scontext_len += strlen(sym_name(p, SYM_USERS, context->user - 1)) + 1; in context_struct_to_string() 1230 *scontext_len += strlen(sym_name(p, SYM_ROLES, context->role - 1)) + 1; in context_struct_to_string() 1231 *scontext_len += strlen(sym_name(p, SYM_TYPES, context->type - 1)) + 1; in context_struct_to_string() 1247 sym_name(p, SYM_USERS, context->user - 1), in context_struct_to_string() 1248 sym_name(p, SYM_ROLES, context->role - 1), in context_struct_to_string() 1249 sym_name(p, SYM_TYPES, context->type - 1)); in context_struct_to_string() 1652 s, t, sym_name(policydb, SYM_CLASSES, tclass-1)); in compute_sid_handle_invalid_context() 2033 sym_name(args->oldp, 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 | 1670 sym_name(p, SYM_USERS, user->value - 1), in user_bounds_sanity_check() 1671 sym_name(p, SYM_ROLES, bit), in user_bounds_sanity_check() 1672 sym_name(p, SYM_USERS, upper->value - 1)); in user_bounds_sanity_check() 1706 sym_name(p, SYM_ROLES, role->value - 1), in role_bounds_sanity_check() 1707 sym_name(p, SYM_TYPES, bit), in role_bounds_sanity_check() 1708 sym_name(p, SYM_ROLES, upper->value - 1)); in role_bounds_sanity_check() 1739 sym_name(p, SYM_TYPES, upper->value - 1)); in type_bounds_sanity_check()
|