Searched refs:ctx_new (Results 1 – 1 of 1) sorted by relevance
3826 struct context ctx_new; in security_netlbl_secattr_to_sid() local3850 context_init(&ctx_new); in security_netlbl_secattr_to_sid()3851 ctx_new.user = ctx->user; in security_netlbl_secattr_to_sid()3852 ctx_new.role = ctx->role; in security_netlbl_secattr_to_sid()3853 ctx_new.type = ctx->type; in security_netlbl_secattr_to_sid()3854 mls_import_netlbl_lvl(policydb, &ctx_new, secattr); in security_netlbl_secattr_to_sid()3856 rc = mls_import_netlbl_cat(policydb, &ctx_new, secattr); in security_netlbl_secattr_to_sid()3861 if (!mls_context_isvalid(policydb, &ctx_new)) { in security_netlbl_secattr_to_sid()3862 ebitmap_destroy(&ctx_new.range.level[0].cat); in security_netlbl_secattr_to_sid()3866 rc = sidtab_context_to_sid(sidtab, &ctx_new, sid); in security_netlbl_secattr_to_sid()[all …]