Lines Matching refs:newcon
3216 struct context newcon; in security_sid_mls_copy() local
3228 context_init(&newcon); in security_sid_mls_copy()
3256 newcon.user = context1->user; in security_sid_mls_copy()
3257 newcon.role = context1->role; in security_sid_mls_copy()
3258 newcon.type = context1->type; in security_sid_mls_copy()
3259 rc = mls_context_cpy(&newcon, context2); in security_sid_mls_copy()
3264 if (!policydb_context_isvalid(policydb, &newcon)) { in security_sid_mls_copy()
3266 &newcon); in security_sid_mls_copy()
3268 if (!context_struct_to_string(policydb, &newcon, &s, in security_sid_mls_copy()
3285 rc = sidtab_context_to_sid(sidtab, &newcon, new_sid); in security_sid_mls_copy()
3288 context_destroy(&newcon); in security_sid_mls_copy()
3293 context_destroy(&newcon); in security_sid_mls_copy()