Searched refs:newcontext (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/security/selinux/ss/ |
H A D | mls.c | 494 struct context *newcontext, in mls_compute_sid() argument 513 return mls_range_set(newcontext, r); in mls_compute_sid() 523 return mls_context_cpy_low(newcontext, scontext); in mls_compute_sid() 525 return mls_context_cpy_high(newcontext, scontext); in mls_compute_sid() 527 return mls_context_cpy(newcontext, scontext); in mls_compute_sid() 529 return mls_context_cpy_low(newcontext, tcontext); in mls_compute_sid() 531 return mls_context_cpy_high(newcontext, tcontext); in mls_compute_sid() 533 return mls_context_cpy(newcontext, tcontext); in mls_compute_sid() 535 return mls_context_glblub(newcontext, in mls_compute_sid() 543 return mls_context_cpy(newcontext, scontext); in mls_compute_sid() [all …]
|
H A D | services.c | 1635 struct context *newcontext) in compute_sid_handle_invalid_context() argument 1647 if (context_struct_to_string(policydb, newcontext, &n, &nlen)) in compute_sid_handle_invalid_context() 1669 struct context *newcontext, in filename_compute_type() argument 1691 newcontext->type = datum->otype; in filename_compute_type() 1710 struct context *scontext, *tcontext, newcontext; in security_compute_sid() local 1732 context_init(&newcontext); in security_compute_sid() 1776 newcontext.user = tcontext->user; in security_compute_sid() 1780 newcontext.user = scontext->user; in security_compute_sid() 1785 newcontext.user = tcontext->user; in security_compute_sid() 1791 newcontext.role = scontext->role; in security_compute_sid() [all …]
|
H A D | mls.h | 60 struct context *newcontext,
|