Home
last modified time | relevance | path

Searched refs:mls_enabled (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/security/selinux/ss/
Dmls.c39 if (!p->mls_enabled) in mls_compute_context_len()
94 if (!p->mls_enabled) in mls_sid_to_context()
193 if (!p->mls_enabled) in mls_context_isvalid()
240 if (!pol->mls_enabled) { in mls_context_to_sid()
361 if (!p->mls_enabled) in mls_from_string()
398 if (p->mls_enabled) { in mls_setup_user_range()
448 if (!oldp->mls_enabled || !newp->mls_enabled) in mls_convert_context()
489 if (!p->mls_enabled) in mls_compute_sid()
556 if (!p->mls_enabled) in mls_export_netlbl_lvl()
577 if (!p->mls_enabled) in mls_import_netlbl_lvl()
[all …]
Dservices.c240 int mls_enabled; in security_mls_enabled() local
248 mls_enabled = policy->policydb.mls_enabled; in security_mls_enabled()
250 return mls_enabled; in security_mls_enabled()
2069 if (args->oldp->mls_enabled && args->newp->mls_enabled) { in services_convert_context()
2073 } else if (!args->oldp->mls_enabled && args->newp->mls_enabled) { in services_convert_context()
2196 if (oldpolicy->policydb.mls_enabled && !newpolicy->policydb.mls_enabled) in selinux_policy_commit()
2198 else if (!oldpolicy->policydb.mls_enabled && newpolicy->policydb.mls_enabled) in selinux_policy_commit()
3183 if (!policydb->mls_enabled) { in security_sid_mls_copy()
3307 if (!policydb->mls_enabled) { in security_net_peersid_resolve()
Dpolicydb.h237 int mls_enabled; member
Dpolicydb.c716 if (p->mls_enabled) in policydb_index()
2524 p->mls_enabled = 1; in policydb_read()
3684 if (p->mls_enabled) in policydb_write()