Lines Matching refs:context_struct_to_string
93 static int context_struct_to_string(struct policydb *policydb,
493 if (context_struct_to_string(policydb, scontext, in security_dump_masked_av()
497 if (context_struct_to_string(policydb, tcontext, in security_dump_masked_av()
738 if (context_struct_to_string(p, ocontext, &o, &olen)) in security_validtrans_handle_fail()
740 if (context_struct_to_string(p, ncontext, &n, &nlen)) in security_validtrans_handle_fail()
742 if (context_struct_to_string(p, tcontext, &t, &tlen)) in security_validtrans_handle_fail()
926 if (!context_struct_to_string(policydb, old_context, in security_bounded_transition()
928 !context_struct_to_string(policydb, new_context, in security_bounded_transition()
1223 static int context_struct_to_string(struct policydb *p, in context_struct_to_string() function
1329 rc = context_struct_to_string(policydb, context, scontext, in security_sid_to_context_core()
1581 if (context_struct_to_string(policydb, scontext, &s, &slen)) in compute_sid_handle_invalid_context()
1583 if (context_struct_to_string(policydb, tcontext, &t, &tlen)) in compute_sid_handle_invalid_context()
1585 if (context_struct_to_string(policydb, newcontext, &n, &nlen)) in compute_sid_handle_invalid_context()
1911 if (!context_struct_to_string(policydb, context, &s, &len)) { in convert_context_handle_invalid_context()
2060 rc = context_struct_to_string(args->oldp, &oldc, &s, &len); in convert_context()
3025 if (!context_struct_to_string(policydb, &newcon, &s, in security_sid_mls_copy()