Home
last modified time | relevance | path

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

/openbmc/linux/security/selinux/ss/
H A Dservices.c3814 struct context ctx_new; in security_netlbl_secattr_to_sid() local
3838 context_init(&ctx_new); in security_netlbl_secattr_to_sid()
3839 ctx_new.user = ctx->user; in security_netlbl_secattr_to_sid()
3840 ctx_new.role = ctx->role; in security_netlbl_secattr_to_sid()
3841 ctx_new.type = ctx->type; in security_netlbl_secattr_to_sid()
3842 mls_import_netlbl_lvl(policydb, &ctx_new, secattr); in security_netlbl_secattr_to_sid()
3844 rc = mls_import_netlbl_cat(policydb, &ctx_new, secattr); in security_netlbl_secattr_to_sid()
3849 if (!mls_context_isvalid(policydb, &ctx_new)) { in security_netlbl_secattr_to_sid()
3850 ebitmap_destroy(&ctx_new.range.level[0].cat); in security_netlbl_secattr_to_sid()
3854 rc = sidtab_context_to_sid(sidtab, &ctx_new, sid); in security_netlbl_secattr_to_sid()
[all …]