• Home
  • Raw
  • Download

Lines Matching refs:modkey

146 				 semanage_module_key_t *modkey,  in semanage_module_extract()  argument
159 return sh->funcs->extract(sh, modkey, extract_cil, mapped_data, data_len, modinfo); in semanage_module_extract()
677 semanage_module_key_t **modkey) in semanage_module_key_create() argument
680 assert(modkey); in semanage_module_key_create()
682 *modkey = malloc(sizeof(semanage_module_key_t)); in semanage_module_key_create()
683 if (*modkey == NULL) return -1; in semanage_module_key_create()
685 return semanage_module_key_init(sh, *modkey); in semanage_module_key_create()
691 semanage_module_key_t *modkey) in hidden_def()
695 if (!modkey) { in hidden_def()
699 free(modkey->name); in hidden_def()
701 return semanage_module_key_init(sh, modkey); in hidden_def()
707 semanage_module_key_t *modkey) in hidden_def()
710 assert(modkey); in hidden_def()
712 modkey->name = NULL; in hidden_def()
713 modkey->priority = 0; in hidden_def()
719 semanage_module_key_t *modkey, in semanage_module_key_get_name() argument
723 assert(modkey); in semanage_module_key_get_name()
726 *name = modkey->name; in semanage_module_key_get_name()
734 semanage_module_key_t *modkey, in hidden_def()
738 assert(modkey); in hidden_def()
741 *priority = modkey->priority; in hidden_def()
749 semanage_module_key_t *modkey, in hidden_def()
753 assert(modkey); in hidden_def()
772 free(modkey->name); in hidden_def()
773 modkey->name = tmp; in hidden_def()
782 semanage_module_key_t *modkey, in hidden_def()
786 assert(modkey); in hidden_def()
794 modkey->priority = priority; in hidden_def()
802 const semanage_module_key_t *modkey, in hidden_def()
806 assert(modkey); in hidden_def()
818 return sh->funcs->get_enabled(sh, modkey, enabled); in hidden_def()
827 const semanage_module_key_t *modkey, in semanage_module_set_enabled() argument
831 assert(modkey); in semanage_module_set_enabled()
847 return sh->funcs->set_enabled(sh, modkey, enabled); in semanage_module_set_enabled()
857 semanage_module_key_t *modkey = NULL; in hidden_def() local
859 rc = semanage_module_key_create(sh, &modkey); in hidden_def()
863 rc = semanage_module_key_set_name(sh, modkey, module_name); in hidden_def()
867 rc = semanage_module_set_enabled(sh, modkey, 1); in hidden_def()
874 semanage_module_key_destroy(sh, modkey); in hidden_def()
875 free(modkey); in hidden_def()
885 semanage_module_key_t *modkey = NULL; in semanage_module_disable() local
887 rc = semanage_module_key_create(sh, &modkey); in semanage_module_disable()
891 rc = semanage_module_key_set_name(sh, modkey, module_name); in semanage_module_disable()
895 rc = semanage_module_set_enabled(sh, modkey, 0); in semanage_module_disable()
902 semanage_module_key_destroy(sh, modkey); in semanage_module_disable()
903 free(modkey); in semanage_module_disable()
1070 const semanage_module_key_t *modkey, in semanage_module_get_module_info() argument
1074 assert(modkey); in semanage_module_get_module_info()
1086 return sh->funcs->get_module_info(sh, modkey, modinfo); in semanage_module_get_module_info()
1131 const semanage_module_key_t *modkey) in semanage_module_remove_key() argument
1146 return sh->funcs->remove_key(sh, modkey); in semanage_module_remove_key()