Home
last modified time | relevance | path

Searched refs:lang_ext (Results 1 – 8 of 8) sorted by relevance

/external/selinux/libsemanage/src/
Dmodules.c237 free(modinfo->lang_ext); in semanage_module_info_datum_destroy()
238 modinfo->lang_ext = NULL; in semanage_module_info_datum_destroy()
294 free(modinfo->lang_ext); in hidden_def()
309 modinfo->lang_ext = NULL; in hidden_def()
344 ret = semanage_module_info_set_lang_ext(sh, target, source->lang_ext); in semanage_module_info_clone()
393 const char **lang_ext) in hidden_def()
397 assert(lang_ext); in hidden_def()
399 *lang_ext = modinfo->lang_ext; in hidden_def()
475 const char *lang_ext) in hidden_def()
479 assert(lang_ext); in hidden_def()
[all …]
Ddirect_api.c70 size_t data_len, const char *module_name, const char *lang_ext);
994 const char *lang_ext, in semanage_direct_write_langext() argument
1017 if (fputs(lang_ext, fp) < 0) { in semanage_direct_write_langext()
1057 if (!strcasecmp(modinfo->lang_ext, "cil")) { in semanage_compile_module()
1061 status = semanage_get_hll_compiler_path(sh, modinfo->lang_ext, &compiler_path); in semanage_compile_module()
1703 const char *module_name, const char *lang_ext) in semanage_direct_install() argument
1727 ret = semanage_module_info_set_lang_ext(sh, &modinfo, lang_ext); in semanage_direct_install()
1763 char *lang_ext = NULL; in semanage_direct_install_file() local
1791 lang_ext = separator + 1; in semanage_direct_install_file()
1796 if (lang_ext == NULL) { in semanage_direct_install_file()
[all …]
Dhandle.c138 char *lang_ext, in semanage_get_hll_compiler_path() argument
142 assert(lang_ext != NULL); in semanage_get_hll_compiler_path()
151 lower_lang_ext = strdup(lang_ext); in semanage_get_hll_compiler_path()
Dmodules.h46 char *lang_ext; /* module source language extension */ member
/external/selinux/policycoreutils/semodule/
Dsemodule.c434 const char *lang_ext = NULL; in main() local
476 lang_ext = "cil"; in main()
478 result = semanage_module_info_get_lang_ext(sh, extract_info, &lang_ext); in main()
489 rlen = snprintf(output_path, PATH_MAX, "%s.%s", output_name, lang_ext); in main()
497 … fprintf(stderr, "%s: %s is already extracted with extension %s.\n", argv[0], mode_arg, lang_ext); in main()
619 const char *lang_ext = NULL; in main() local
632 result = semanage_module_info_get_lang_ext(sh, m, &lang_ext); in main()
638 (int)column[2], lang_ext, in main()
/external/selinux/libsemanage/include/semanage/
Dmodules.h113 const char **lang_ext);
147 const char *lang_ext);
Dhandle.h72 extern int semanage_get_hll_compiler_path(semanage_handle_t *sh, char *lang_ext, char **compiler_pa…
/external/selinux/python/semanage/
Dseobject.py369 rc, lang_ext = semanage_module_info_get_lang_ext(self.sh, mod)
373 l.append((name, enabled, priority, lang_ext))