Lines Matching refs:ctx_new
3887 struct context ctx_new; in security_netlbl_secattr_to_sid() local
3911 context_init(&ctx_new); in security_netlbl_secattr_to_sid()
3912 ctx_new.user = ctx->user; in security_netlbl_secattr_to_sid()
3913 ctx_new.role = ctx->role; in security_netlbl_secattr_to_sid()
3914 ctx_new.type = ctx->type; in security_netlbl_secattr_to_sid()
3915 mls_import_netlbl_lvl(policydb, &ctx_new, secattr); in security_netlbl_secattr_to_sid()
3917 rc = mls_import_netlbl_cat(policydb, &ctx_new, secattr); in security_netlbl_secattr_to_sid()
3922 if (!mls_context_isvalid(policydb, &ctx_new)) { in security_netlbl_secattr_to_sid()
3923 ebitmap_destroy(&ctx_new.range.level[0].cat); in security_netlbl_secattr_to_sid()
3927 rc = sidtab_context_to_sid(sidtab, &ctx_new, sid); in security_netlbl_secattr_to_sid()
3928 ebitmap_destroy(&ctx_new.range.level[0].cat); in security_netlbl_secattr_to_sid()