Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dmls.c611 uint32_t specified, context_struct_t * newcontext) in mls_compute_sid() argument
629 return mls_range_set(newcontext, r); in mls_compute_sid()
639 return mls_context_cpy_low(newcontext, scontext); in mls_compute_sid()
641 return mls_context_cpy_high(newcontext, scontext); in mls_compute_sid()
643 return mls_context_cpy(newcontext, scontext); in mls_compute_sid()
645 return mls_context_cpy_low(newcontext, tcontext); in mls_compute_sid()
647 return mls_context_cpy_high(newcontext, tcontext); in mls_compute_sid()
649 return mls_context_cpy(newcontext, tcontext); in mls_compute_sid()
656 return mls_copy_context(newcontext, scontext); in mls_compute_sid()
659 return mls_scopy_context(newcontext, scontext); in mls_compute_sid()
[all …]
Dservices.c1341 newcontext) in compute_sid_handle_invalid_context() argument
1351 context_to_string(NULL, policydb, newcontext, &n, &nlen); in compute_sid_handle_invalid_context()
1367 context_struct_t *scontext = 0, *tcontext = 0, newcontext; in sepol_compute_sid() local
1387 context_init(&newcontext); in sepol_compute_sid()
1394 newcontext.user = scontext->user; in sepol_compute_sid()
1398 newcontext.user = tcontext->user; in sepol_compute_sid()
1406 newcontext.role = scontext->role; in sepol_compute_sid()
1407 newcontext.type = scontext->type; in sepol_compute_sid()
1411 newcontext.role = OBJECT_R_VAL; in sepol_compute_sid()
1413 newcontext.type = tcontext->type; in sepol_compute_sid()
[all …]
Dmls.h62 uint32_t specified, context_struct_t * newcontext);
/external/mesa3d/src/glx/apple/
Dapple_glx_pbuffer.c203 CGLContextObj newcontext; in get_max_size() local
220 err = apple_cgl.create_context(pfobj, NULL, &newcontext); in get_max_size()
233 err = apple_cgl.set_current_context(newcontext); in get_max_size()
245 apple_cgl.destroy_context(newcontext); in get_max_size()