Searched refs:newcontext (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.15/security/selinux/ss/ |
D | mls.c | 493 struct context *newcontext, in mls_compute_sid() argument 512 return mls_range_set(newcontext, r); in mls_compute_sid() 522 return mls_context_cpy_low(newcontext, scontext); in mls_compute_sid() 524 return mls_context_cpy_high(newcontext, scontext); in mls_compute_sid() 526 return mls_context_cpy(newcontext, scontext); in mls_compute_sid() 528 return mls_context_cpy_low(newcontext, tcontext); in mls_compute_sid() 530 return mls_context_cpy_high(newcontext, tcontext); in mls_compute_sid() 532 return mls_context_cpy(newcontext, tcontext); in mls_compute_sid() 534 return mls_context_glblub(newcontext, in mls_compute_sid() 542 return mls_context_cpy(newcontext, scontext); in mls_compute_sid() [all …]
|
D | services.c | 1661 struct context *newcontext) in compute_sid_handle_invalid_context() argument 1673 if (context_struct_to_string(policydb, newcontext, &n, &nlen)) in compute_sid_handle_invalid_context() 1695 struct context *newcontext, in filename_compute_type() argument 1717 newcontext->type = datum->otype; in filename_compute_type() 1737 struct context *scontext, *tcontext, newcontext; in security_compute_sid() local 1760 context_init(&newcontext); in security_compute_sid() 1804 newcontext.user = tcontext->user; in security_compute_sid() 1808 newcontext.user = scontext->user; in security_compute_sid() 1813 newcontext.user = tcontext->user; in security_compute_sid() 1819 newcontext.role = scontext->role; in security_compute_sid() [all …]
|
D | mls.h | 60 struct context *newcontext,
|