Home
last modified time | relevance | path

Searched refs:sefcontext_compile (Results 1 – 7 of 7) sorted by relevance

/external/selinux/libsemanage/src/
Dconf-parse.y298 semanage_conf_external_prog_destroy(current_conf->sefcontext_compile);
299 current_conf->sefcontext_compile = NULL;
300 if (new_external_prog(&current_conf->sefcontext_compile) == -1) {
388 if ((conf->sefcontext_compile =
389 calloc(1, sizeof(*(current_conf->sefcontext_compile)))) == NULL) {
393 conf->sefcontext_compile->path = strdup("/sbin/sefcontext_compile");
395 conf->sefcontext_compile->path = strdup("/usr/sbin/sefcontext_compile");
397 if ((conf->sefcontext_compile->path == NULL) ||
398 (conf->sefcontext_compile->args = strdup("$@")) == NULL) {
460 semanage_conf_external_prog_destroy(conf->sefcontext_compile); in semanage_conf_destroy()
Dsemanage_conf.h53 struct external_prog *sefcontext_compile; member
Dsemanage_store.c1499 static int sefcontext_compile(semanage_handle_t * sh, const char *path) { in sefcontext_compile() function
1507 if ((r = semanage_exec_prog(sh, sh->conf->sefcontext_compile, path, "")) != 0) { in sefcontext_compile()
1534 if (sefcontext_compile(sh, in semanage_validate_and_compile_fcontexts()
1539 if (sefcontext_compile(sh, in semanage_validate_and_compile_fcontexts()
1544 if (sefcontext_compile(sh, in semanage_validate_and_compile_fcontexts()
1766 if (sh->conf->sefcontext_compile == NULL) { in semanage_install_sandbox()
/external/selinux/libselinux/utils/
DMakefile52 TARGETS=sefcontext_compile
57 sefcontext_compile: LDLIBS += $(PCRE_LDFLAGS) ../src/libselinux.a -lsepol target
59 sefcontext_compile: sefcontext_compile.o ../src/regex.o target
D.gitignore16 sefcontext_compile
/external/selinux/libselinux/
DAndroid.bp146 // If one attempts to comment out the sefcontext_compile target in the
151 // properly. Looking at the Makefile from upstream, sefcontext_compile seems
154 // library declared anywhere. Switching sefcontext_compile to an Android.mk for
158 // name: "sefcontext_compile",
160 // srcs: ["utils/sefcontext_compile.c"],
DAndroid.mk10 LOCAL_MODULE := sefcontext_compile
13 LOCAL_SRC_FILES := utils/sefcontext_compile.c