Home
last modified time | relevance | path

Searched refs:fcon (Results 1 – 6 of 6) sorted by relevance

/external/selinux/libselinux/utils/
Dselinuxexeccon.c20 char * fcon = NULL, *newcon = NULL; in get_selinux_proc_context() local
22 int ret = getfilecon(command, &fcon); in get_selinux_proc_context()
24 ret = security_compute_create(execcon, fcon, string_to_security_class("process"), &newcon); in get_selinux_proc_context()
28 freecon(fcon); in get_selinux_proc_context()
/external/selinux/libselinux/src/
Dsetexecfilecon.c9 char * mycon = NULL, *fcon = NULL, *newcon = NULL; in setexecfilecon() local
20 rc = getfilecon(filename, &fcon); in setexecfilecon()
24 rc = security_compute_create(mycon, fcon, string_to_security_class("process"), &newcon); in setexecfilecon()
53 freecon(fcon); in setexecfilecon()
/external/selinux/libsemanage/src/
Dfcontexts_local.c87 static int validate_handler(const semanage_fcontext_t * fcon, void *varg) in validate_handler() argument
98 const char *expr = semanage_fcontext_get_expr(fcon); in validate_handler()
99 int type = semanage_fcontext_get_type(fcon); in validate_handler()
101 semanage_context_t *con = semanage_fcontext_get_con(fcon); in validate_handler()
Dpywrap-test.py260 for fcon in flist:
262 print("File Context reference: %s" % fcon)
263 expr = semanage.semanage_fcontext_get_expr(fcon)
264 type = semanage.semanage_fcontext_get_type(fcon)
266 con = semanage.semanage_fcontext_get_con(fcon)
274 semanage.semanage_fcontext_free(fcon)
687 (status, fcon) = semanage.semanage_fcontext_create(sh)
693 status = semanage.semanage_fcontext_set_expr(sh, fcon, "/test/fcontext(/.*)?")
697 print("SEFContext expr set: %s" % semanage.semanage_fcontext_get_expr(fcon))
699 semanage.semanage_fcontext_set_type(fcon, semanage.SEMANAGE_FCONTEXT_REG)
[all …]
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_test_blend.c489 double fcon[LP_MAX_VECTOR_LENGTH]; in test_one() local
495 read_vec(type, con, fcon); in test_one()
498 compute_blend_ref(blend, fsrc + j, fsrc1 + j, fdst + j, fcon + j, fref + j); in test_one()
/external/clang/test/
Dcxx-sections.data46 2.14.4 [lex.fcon]