Lines Matching refs:context_struct_to_string
89 static int context_struct_to_string(struct policydb *policydb,
489 if (context_struct_to_string(policydb, scontext, in security_dump_masked_av()
493 if (context_struct_to_string(policydb, tcontext, in security_dump_masked_av()
728 if (context_struct_to_string(p, ocontext, &o, &olen)) in security_validtrans_handle_fail()
730 if (context_struct_to_string(p, ncontext, &n, &nlen)) in security_validtrans_handle_fail()
732 if (context_struct_to_string(p, tcontext, &t, &tlen)) in security_validtrans_handle_fail()
915 if (!context_struct_to_string(policydb, old_context, in security_bounded_transition()
917 !context_struct_to_string(policydb, new_context, in security_bounded_transition()
1208 static int context_struct_to_string(struct policydb *p, in context_struct_to_string() function
1318 rc = context_struct_to_string(policydb, context, scontext, in security_sid_to_context_core()
1587 if (context_struct_to_string(policydb, scontext, &s, &slen)) in compute_sid_handle_invalid_context()
1589 if (context_struct_to_string(policydb, tcontext, &t, &tlen)) in compute_sid_handle_invalid_context()
1591 if (context_struct_to_string(policydb, newcontext, &n, &nlen)) in compute_sid_handle_invalid_context()
1906 if (!context_struct_to_string(policydb, context, &s, &len)) { in convert_context_handle_invalid_context()
2039 rc = context_struct_to_string(args->oldp, oldc, &s, &len); in convert_context()
3012 if (!context_struct_to_string(policydb, &newcon, &s, in security_sid_mls_copy()