Home
last modified time | relevance | path

Searched refs:modkey (Results 1 – 5 of 5) sorted by relevance

/external/selinux/libsemanage/src/
Dmodules.c658 semanage_module_key_t **modkey) in semanage_module_key_create() argument
661 assert(modkey); in semanage_module_key_create()
663 *modkey = malloc(sizeof(semanage_module_key_t)); in semanage_module_key_create()
664 if (*modkey == NULL) return -1; in semanage_module_key_create()
666 return semanage_module_key_init(sh, *modkey); in semanage_module_key_create()
672 semanage_module_key_t *modkey) in hidden_def()
676 if (modkey) { in hidden_def()
677 free(modkey->name); in hidden_def()
680 return semanage_module_key_init(sh, modkey); in hidden_def()
686 semanage_module_key_t *modkey) in hidden_def()
[all …]
Ddirect_api.c74 const semanage_module_key_t *modkey,
77 const semanage_module_key_t *modkey,
81 const semanage_module_key_t *modkey,
94 const semanage_module_key_t *modkey);
1501 semanage_module_key_t modkey; in semanage_direct_remove() local
1502 ret = semanage_module_key_init(sh, &modkey); in semanage_direct_remove()
1508 ret = semanage_module_key_set_priority(sh, &modkey, sh->priority); in semanage_direct_remove()
1514 ret = semanage_module_key_set_name(sh, &modkey, module_name); in semanage_direct_remove()
1520 status = semanage_direct_remove_key(sh, &modkey); in semanage_direct_remove()
1575 const semanage_module_key_t *modkey, in semanage_direct_get_enabled() argument
[all …]
Dmodules.h89 semanage_module_key_t *modkey);
/external/selinux/libsemanage/include/semanage/
Dmodules.h150 semanage_module_key_t **modkey);
158 semanage_module_key_t *modkey);
167 semanage_module_key_t *modkey,
175 semanage_module_key_t *modkey,
185 semanage_module_key_t *modkey,
193 semanage_module_key_t *modkey,
203 const semanage_module_key_t *modkey,
212 const semanage_module_key_t *modkey,
254 const semanage_module_key_t *modkey);
265 const semanage_module_key_t *modkey,
/external/selinux/policycoreutils/semodule/
Dsemodule.c536 semanage_module_key_t *modkey = NULL; in main() local
538 result = semanage_module_key_create(sh, &modkey); in main()
541 result = semanage_module_key_set_name(sh, modkey, mode_arg); in main()
544 result = semanage_module_set_enabled(sh, modkey, 1); in main()
548 semanage_module_key_destroy(sh, modkey); in main()
549 free(modkey); in main()
560 semanage_module_key_t *modkey = NULL; in main() local
562 result = semanage_module_key_create(sh, &modkey); in main()
565 result = semanage_module_key_set_name(sh, modkey, mode_arg); in main()
568 result = semanage_module_set_enabled(sh, modkey, 0); in main()
[all …]