• Home
  • Raw
  • Download

Lines Matching refs:priority

232 		modinfo->priority = 0;  in semanage_module_info_datum_destroy()
307 modinfo->priority = 0; in hidden_def()
332 ret = semanage_module_info_set_priority(sh, target, source->priority); in semanage_module_info_clone()
363 uint16_t *priority) in semanage_module_info_get_priority() argument
367 assert(priority); in semanage_module_info_get_priority()
369 *priority = modinfo->priority; in semanage_module_info_get_priority()
423 uint16_t priority) in hidden_def()
429 if (semanage_module_validate_priority(priority) < 0) { in hidden_def()
431 ERR(sh, "Priority %d is invalid.", priority); in hidden_def()
435 modinfo->priority = priority; in hidden_def()
548 ret = semanage_module_validate_priority(modinfo->priority); in hidden_def()
553 modinfo->priority); in hidden_def()
562 modinfo->priority); in hidden_def()
571 ret = semanage_module_validate_priority(modinfo->priority); in hidden_def()
576 modinfo->priority); in hidden_def()
593 modinfo->priority, in hidden_def()
611 ret = semanage_module_validate_priority(modinfo->priority); in hidden_def()
616 modinfo->priority); in hidden_def()
633 modinfo->priority, in hidden_def()
713 modkey->priority = 0; in hidden_def()
735 uint16_t *priority) in hidden_def()
739 assert(priority); in hidden_def()
741 *priority = modkey->priority; in hidden_def()
783 uint16_t priority) in hidden_def()
788 if (semanage_module_validate_priority(priority) < 0) { in hidden_def()
790 ERR(sh, "Priority %d is invalid.", priority); in hidden_def()
794 modkey->priority = priority; in hidden_def()
913 int semanage_string_to_priority(const char *str, uint16_t *priority) in semanage_string_to_priority() argument
919 if (str == NULL || priority == NULL) { in semanage_string_to_priority()
935 *priority = val; in semanage_string_to_priority()
948 if (semanage_module_validate_priority(modinfo->priority) != 0 || in semanage_module_info_validate()
964 int semanage_module_validate_priority(uint16_t priority) in semanage_module_validate_priority() argument
966 if (priority >= PRIORITY_MIN && priority <= PRIORITY_MAX) { in semanage_module_validate_priority()