Home
last modified time | relevance | path

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

/security/selinux/ss/
Dmls.c515 struct context *newcontext, in mls_compute_sid() argument
534 return mls_range_set(newcontext, r); in mls_compute_sid()
544 return mls_context_cpy_low(newcontext, scontext); in mls_compute_sid()
546 return mls_context_cpy_high(newcontext, scontext); in mls_compute_sid()
548 return mls_context_cpy(newcontext, scontext); in mls_compute_sid()
550 return mls_context_cpy_low(newcontext, tcontext); in mls_compute_sid()
552 return mls_context_cpy_high(newcontext, tcontext); in mls_compute_sid()
554 return mls_context_cpy(newcontext, tcontext); in mls_compute_sid()
561 return mls_context_cpy(newcontext, scontext); in mls_compute_sid()
564 return mls_context_cpy_low(newcontext, scontext); in mls_compute_sid()
[all …]
Dservices.c1512 struct context *newcontext) in compute_sid_handle_invalid_context() argument
1521 if (context_struct_to_string(newcontext, &n, &nlen)) in compute_sid_handle_invalid_context()
1538 static void filename_compute_type(struct policydb *p, struct context *newcontext, in filename_compute_type() argument
1560 newcontext->type = otype->otype; in filename_compute_type()
1572 struct context *scontext = NULL, *tcontext = NULL, newcontext; in security_compute_sid() local
1593 context_init(&newcontext); in security_compute_sid()
1628 newcontext.user = tcontext->user; in security_compute_sid()
1632 newcontext.user = scontext->user; in security_compute_sid()
1637 newcontext.user = tcontext->user; in security_compute_sid()
1643 newcontext.role = scontext->role; in security_compute_sid()
[all …]
Dmls.h52 struct context *newcontext,