Searched refs:context_struct_to_string (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/security/selinux/ss/
H A Dservices.c92 static int context_struct_to_string(struct context *context, char **scontext,
496 if (context_struct_to_string(scontext, security_dump_masked_av()
500 if (context_struct_to_string(tcontext, security_dump_masked_av()
724 if (context_struct_to_string(ocontext, &o, &olen)) security_validtrans_handle_fail()
726 if (context_struct_to_string(ncontext, &n, &nlen)) security_validtrans_handle_fail()
728 if (context_struct_to_string(tcontext, &t, &tlen)) security_validtrans_handle_fail()
873 if (!context_struct_to_string(old_context, security_bounded_transition()
875 !context_struct_to_string(new_context, security_bounded_transition()
1012 static int context_struct_to_string(struct context *context, char **scontext, u32 *scontext_len) context_struct_to_string() function
1114 rc = context_struct_to_string(context, scontext, scontext_len); security_sid_to_context_core()
1347 if (context_struct_to_string(scontext, &s, &slen)) compute_sid_handle_invalid_context()
1349 if (context_struct_to_string(tcontext, &t, &tlen)) compute_sid_handle_invalid_context()
1351 if (context_struct_to_string(newcontext, &n, &nlen)) compute_sid_handle_invalid_context()
1657 if (!context_struct_to_string(context, &s, &len)) { convert_context_handle_invalid_context()
1803 rc = context_struct_to_string(&oldc, &s, &len); convert_context()
2609 if (!context_struct_to_string(&newcon, &s, &len)) { security_sid_mls_copy()

Completed in 111 milliseconds