Lines Matching refs:mls
44 const context_struct_t * mls, char **str) in mls_to_string() argument
50 int len = mls_compute_context_len(policydb, mls) + 1; in mls_to_string()
61 mls_sid_to_context(policydb, mls, &ptr); in mls_to_string()
80 const char *str, context_struct_t * mls) in mls_from_string() argument
88 if (mls_context_to_sid(policydb, '$', &tmp_cp, mls) < 0) { in mls_from_string()
116 if (!policydb->mls) in mls_compute_context_len()
175 if (!policydb->mls) in mls_sid_to_context()
267 if (!p->mls) in mls_context_isvalid()
339 if (!policydb->mls) in mls_context_to_sid()
510 context_struct_t * usercon, int mls) in mls_setup_user_range()
512 if (mls) { in mls_setup_user_range()
561 if (!oldp->mls) in mls_convert_context()
614 if (!policydb->mls) in mls_compute_sid()
707 sepol_policydb_t * policydb, const char *mls) in sepol_mls_check() argument
714 "mls context %s is valid", mls); in sepol_mls_check()
719 ret = mls_from_string(handle, &policydb->p, mls, con); in sepol_mls_check()