D | modules.c | 56 static int parse_module_headers(semanage_handle_t * sh, char *module_data, in parse_module_headers() argument 64 ERR(sh, "Out of memory!"); in parse_module_headers() 68 sepol_policy_file_set_handle(pf, sh->sepolh); in parse_module_headers() 73 ERR(sh, "Could not parse module data."); in parse_module_headers() 78 …ERR(sh, "Data did not represent a pp module. Please upgrade to the latest version of libsemanage t… in parse_module_headers() 88 int semanage_module_install_pp(semanage_handle_t * sh, in semanage_module_install_pp() argument 95 if ((status = parse_module_headers(sh, module_data, data_len, &name, &version)) != 0) { in semanage_module_install_pp() 99 status = semanage_module_install_hll(sh, module_data, data_len, name, "pp"); in semanage_module_install_pp() 107 int semanage_module_install_hll(semanage_handle_t * sh, in semanage_module_install_hll() argument 110 if (sh->funcs->install == NULL) { in semanage_module_install_hll() [all …]
|