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() 168 sym_name(p, SYM_LEVELS, l->sens - 1)); in mls_level_isvalid() 460 char *name = sym_name(oldp, SYM_LEVELS, in mls_convert_context() [all …]
|
D | services.c | 484 tclass_name = sym_name(policydb, SYM_CLASSES, tclass - 1); in security_dump_masked_av() 745 o, n, t, sym_name(p, SYM_CLASSES, tclass-1)); in security_validtrans_handle_fail() 1253 *scontext_len += strlen(sym_name(p, SYM_USERS, context->user - 1)) + 1; in context_struct_to_string() 1254 *scontext_len += strlen(sym_name(p, SYM_ROLES, context->role - 1)) + 1; in context_struct_to_string() 1255 *scontext_len += strlen(sym_name(p, SYM_TYPES, context->type - 1)) + 1; in context_struct_to_string() 1271 sym_name(p, SYM_USERS, context->user - 1), in context_struct_to_string() 1272 sym_name(p, SYM_ROLES, context->role - 1), in context_struct_to_string() 1273 sym_name(p, SYM_TYPES, context->type - 1)); in context_struct_to_string() 1684 s, t, sym_name(policydb, SYM_CLASSES, tclass-1)); in compute_sid_handle_invalid_context() 2078 sym_name(args->oldp, in convert_context() [all …]
|
D | policydb.h | 386 static inline char *sym_name(struct policydb *p, unsigned int sym_num, unsigned int element_nr) in sym_name() function
|
D | policydb.c | 1675 sym_name(p, SYM_USERS, user->value - 1), in user_bounds_sanity_check() 1676 sym_name(p, SYM_ROLES, bit), in user_bounds_sanity_check() 1677 sym_name(p, SYM_USERS, upper->value - 1)); in user_bounds_sanity_check() 1711 sym_name(p, SYM_ROLES, role->value - 1), in role_bounds_sanity_check() 1712 sym_name(p, SYM_TYPES, bit), in role_bounds_sanity_check() 1713 sym_name(p, SYM_ROLES, upper->value - 1)); in role_bounds_sanity_check() 1744 sym_name(p, SYM_TYPES, upper->value - 1)); in type_bounds_sanity_check()
|