Home
last modified time | relevance | path

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

/linux-6.15/security/selinux/ss/
H A Dmls.c482 struct context *newcontext, bool sock) in mls_compute_sid() argument
500 return mls_range_set(newcontext, r); in mls_compute_sid()
510 return mls_context_cpy_low(newcontext, scontext); in mls_compute_sid()
512 return mls_context_cpy_high(newcontext, scontext); in mls_compute_sid()
514 return mls_context_cpy(newcontext, scontext); in mls_compute_sid()
516 return mls_context_cpy_low(newcontext, tcontext); in mls_compute_sid()
520 return mls_context_cpy(newcontext, tcontext); in mls_compute_sid()
522 return mls_context_glblub(newcontext, scontext, in mls_compute_sid()
530 return mls_context_cpy(newcontext, scontext); in mls_compute_sid()
533 return mls_context_cpy_low(newcontext, scontext); in mls_compute_sid()
[all …]
H A Dservices.c1670 struct context *newcontext) in compute_sid_handle_invalid_context() argument
1704 struct context *newcontext, in filename_compute_type() argument
1726 newcontext->type = datum->otype; in filename_compute_type()
1767 context_init(&newcontext); in security_compute_sid()
1820 newcontext.user = tcontext->user; in security_compute_sid()
1826 newcontext.role = scontext->role; in security_compute_sid()
1833 newcontext.role = OBJECT_R_VAL; in security_compute_sid()
1899 &newcontext, sock); in security_compute_sid()
1907 &newcontext); in security_compute_sid()
1915 context_destroy(&newcontext); in security_compute_sid()
[all …]
H A Dmls.h47 struct context *newcontext, bool sock);