Home
last modified time | relevance | path

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

/linux-4.4.14/security/selinux/ss/
Dmls.c509 struct context *newcontext, in mls_compute_sid() argument
528 return mls_range_set(newcontext, r); in mls_compute_sid()
538 return mls_context_cpy_low(newcontext, scontext); in mls_compute_sid()
540 return mls_context_cpy_high(newcontext, scontext); in mls_compute_sid()
542 return mls_context_cpy(newcontext, scontext); in mls_compute_sid()
544 return mls_context_cpy_low(newcontext, tcontext); in mls_compute_sid()
546 return mls_context_cpy_high(newcontext, tcontext); in mls_compute_sid()
548 return mls_context_cpy(newcontext, tcontext); in mls_compute_sid()
555 return mls_context_cpy(newcontext, scontext); in mls_compute_sid()
558 return mls_context_cpy_low(newcontext, scontext); in mls_compute_sid()
[all …]
Dservices.c1517 struct context *newcontext) in compute_sid_handle_invalid_context() argument
1526 if (context_struct_to_string(newcontext, &n, &nlen)) in compute_sid_handle_invalid_context()
1543 static void filename_compute_type(struct policydb *p, struct context *newcontext, in filename_compute_type() argument
1565 newcontext->type = otype->otype; in filename_compute_type()
1577 struct context *scontext = NULL, *tcontext = NULL, newcontext; in security_compute_sid() local
1598 context_init(&newcontext); in security_compute_sid()
1633 newcontext.user = tcontext->user; in security_compute_sid()
1637 newcontext.user = scontext->user; in security_compute_sid()
1642 newcontext.user = tcontext->user; in security_compute_sid()
1648 newcontext.role = scontext->role; in security_compute_sid()
[all …]
Dmls.h52 struct context *newcontext,