Home
last modified time | relevance | path

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

/Linux-v4.19/security/selinux/ss/
Dmls.c514 struct context *newcontext, in mls_compute_sid() argument
533 return mls_range_set(newcontext, r); in mls_compute_sid()
543 return mls_context_cpy_low(newcontext, scontext); in mls_compute_sid()
545 return mls_context_cpy_high(newcontext, scontext); in mls_compute_sid()
547 return mls_context_cpy(newcontext, scontext); in mls_compute_sid()
549 return mls_context_cpy_low(newcontext, tcontext); in mls_compute_sid()
551 return mls_context_cpy_high(newcontext, tcontext); in mls_compute_sid()
553 return mls_context_cpy(newcontext, tcontext); in mls_compute_sid()
560 return mls_context_cpy(newcontext, scontext); in mls_compute_sid()
563 return mls_context_cpy_low(newcontext, scontext); in mls_compute_sid()
[all …]
Dservices.c1575 struct context *newcontext) in compute_sid_handle_invalid_context() argument
1585 if (context_struct_to_string(policydb, newcontext, &n, &nlen)) in compute_sid_handle_invalid_context()
1603 struct context *newcontext, in filename_compute_type() argument
1625 newcontext->type = otype->otype; in filename_compute_type()
1640 struct context *scontext = NULL, *tcontext = NULL, newcontext; in security_compute_sid() local
1661 context_init(&newcontext); in security_compute_sid()
1700 newcontext.user = tcontext->user; in security_compute_sid()
1704 newcontext.user = scontext->user; in security_compute_sid()
1709 newcontext.user = tcontext->user; in security_compute_sid()
1715 newcontext.role = scontext->role; in security_compute_sid()
[all …]
Dmls.h56 struct context *newcontext,