Lines Matching refs:label
364 struct label *
367 return mac_label_verify(&action->label); in mac_exc_label()
371 mac_exc_set_label(struct exception_action *action, struct label *label) in mac_exc_set_label() argument
373 action->label = label; in mac_exc_set_label()
378 struct label *
381 …turn mac_labelzone_alloc_for_owner(action ? &action->label : NULL, MAC_WAITOK, ^(struct label *lab… in mac_exc_create_label()
384 MAC_PERFORM(exc_action_label_init, label); in mac_exc_create_label()
389 mac_exc_free_label(struct label *label) in mac_exc_free_label() argument
391 MAC_PERFORM(exc_action_label_destroy, label); in mac_exc_free_label()
392 mac_labelzone_free(label); in mac_exc_free_label()
398 mac_exc_associate_action_label(struct exception_action *action, struct label *label) in mac_exc_associate_action_label() argument
400 mac_exc_set_label(action, label); in mac_exc_associate_action_label()
415 struct label *newlabel) in mac_exc_update_action_label()
432 mac_exc_update_task_crash_label(struct task *task, struct label *label) in mac_exc_update_task_crash_label() argument
438 struct label *crash_label = get_task_crash_label(task); in mac_exc_update_task_crash_label()
440 MAC_CHECK(exc_action_label_update, NULL, crash_label, label); in mac_exc_update_task_crash_label()
447 struct label *
450 struct label *label = mac_exc_create_label(NULL); in mac_exc_create_label_for_proc() local
451 MAC_PERFORM(exc_action_label_populate, label, proc); in mac_exc_create_label_for_proc()
452 return label; in mac_exc_create_label_for_proc()
455 struct label *
469 struct label *bsd_label = NULL; in mac_exc_action_check_exception_send()
470 struct label *label = NULL; in mac_exc_action_check_exception_send() local
474 label = bsd_label = mac_exc_create_label_for_proc(p); in mac_exc_action_check_exception_send()
477 label = get_task_crash_label(victim_task); in mac_exc_action_check_exception_send()
480 if (label == NULL) { in mac_exc_action_check_exception_send()
485 MAC_CHECK(exc_action_check_exception_send, label, action, mac_exc_label(action)); in mac_exc_action_check_exception_send()