Home
last modified time | relevance | path

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

/Linux-v5.4/security/selinux/ss/
Dservices.c3590 struct context ctx_new; in security_netlbl_secattr_to_sid() local
3609 context_init(&ctx_new); in security_netlbl_secattr_to_sid()
3610 ctx_new.user = ctx->user; in security_netlbl_secattr_to_sid()
3611 ctx_new.role = ctx->role; in security_netlbl_secattr_to_sid()
3612 ctx_new.type = ctx->type; in security_netlbl_secattr_to_sid()
3613 mls_import_netlbl_lvl(policydb, &ctx_new, secattr); in security_netlbl_secattr_to_sid()
3615 rc = mls_import_netlbl_cat(policydb, &ctx_new, secattr); in security_netlbl_secattr_to_sid()
3620 if (!mls_context_isvalid(policydb, &ctx_new)) in security_netlbl_secattr_to_sid()
3623 rc = sidtab_context_to_sid(sidtab, &ctx_new, sid); in security_netlbl_secattr_to_sid()
3629 ebitmap_destroy(&ctx_new.range.level[0].cat); in security_netlbl_secattr_to_sid()
[all …]