Searched refs:newcontext (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.4/security/selinux/ss/ |
| D | mls.c | 492 struct context *newcontext, in mls_compute_sid() argument 511 return mls_range_set(newcontext, r); in mls_compute_sid() 521 return mls_context_cpy_low(newcontext, scontext); in mls_compute_sid() 523 return mls_context_cpy_high(newcontext, scontext); in mls_compute_sid() 525 return mls_context_cpy(newcontext, scontext); in mls_compute_sid() 527 return mls_context_cpy_low(newcontext, tcontext); in mls_compute_sid() 529 return mls_context_cpy_high(newcontext, tcontext); in mls_compute_sid() 531 return mls_context_cpy(newcontext, tcontext); in mls_compute_sid() 538 return mls_context_cpy(newcontext, scontext); in mls_compute_sid() 541 return mls_context_cpy_low(newcontext, scontext); in mls_compute_sid() [all …]
|
| D | services.c | 1580 struct context *newcontext) in compute_sid_handle_invalid_context() argument 1591 if (context_struct_to_string(policydb, newcontext, &n, &nlen)) in compute_sid_handle_invalid_context() 1611 struct context *newcontext, in filename_compute_type() argument 1633 newcontext->type = otype->otype; in filename_compute_type() 1648 struct context *scontext = NULL, *tcontext = NULL, newcontext; in security_compute_sid() local 1669 context_init(&newcontext); in security_compute_sid() 1708 newcontext.user = tcontext->user; in security_compute_sid() 1712 newcontext.user = scontext->user; in security_compute_sid() 1717 newcontext.user = tcontext->user; in security_compute_sid() 1723 newcontext.role = scontext->role; in security_compute_sid() [all …]
|
| D | mls.h | 57 struct context *newcontext,
|