Lines Matching refs:context_struct_t
292 context_struct_t *xcontext) in get_class_info()
386 static int constraint_expr_eval_reason(context_struct_t *scontext, in constraint_expr_eval_reason()
387 context_struct_t *tcontext, in constraint_expr_eval_reason()
388 context_struct_t *xcontext, in constraint_expr_eval_reason()
395 context_struct_t *c; in constraint_expr_eval_reason()
829 static int context_struct_compute_av(context_struct_t * scontext,
830 context_struct_t * tcontext,
838 static void type_attribute_bounds_av(context_struct_t *scontext, in type_attribute_bounds_av()
839 context_struct_t *tcontext, in type_attribute_bounds_av()
845 context_struct_t lo_scontext; in type_attribute_bounds_av()
846 context_struct_t lo_tcontext, *tcontextp = tcontext; in type_attribute_bounds_av()
893 static int context_struct_compute_av(context_struct_t * scontext, in context_struct_compute_av()
894 context_struct_t * tcontext, in context_struct_compute_av()
1025 context_struct_t *ocontext; in sepol_validate_transition()
1026 context_struct_t *ncontext; in sepol_validate_transition()
1027 context_struct_t *tcontext; in sepol_validate_transition()
1078 context_struct_t *ocontext; in sepol_validate_transition_reason_buffer()
1079 context_struct_t *ncontext; in sepol_validate_transition_reason_buffer()
1080 context_struct_t *tcontext; in sepol_validate_transition_reason_buffer()
1136 context_struct_t *scontext = 0, *tcontext = 0; in sepol_compute_av_reason()
1172 context_struct_t *scontext = 0, *tcontext = 0; in sepol_compute_av_reason_buffer()
1288 context_struct_t *context; in sepol_sid_to_context()
1311 context_struct_t *context = NULL; in sepol_context_to_sid()
1335 static inline int compute_sid_handle_invalid_context(context_struct_t * in compute_sid_handle_invalid_context()
1337 context_struct_t * in compute_sid_handle_invalid_context()
1341 context_struct_t * in compute_sid_handle_invalid_context()
1368 context_struct_t *scontext = 0, *tcontext = 0, newcontext; in sepol_compute_sid()
1594 context_struct_t * context, void *arg) in clone_sid()
1601 static inline int convert_context_handle_invalid_context(context_struct_t * in convert_context_handle_invalid_context()
1630 context_struct_t * c, void *p) in convert_context()
1633 context_struct_t oldc; in convert_context()
2166 context_struct_t *fromcon, usercon; in sepol_get_user_sids()