Lines Matching refs:label
62 struct label *
65 struct label *label; in mac_pipe_label_alloc() local
67 label = mac_labelzone_alloc(M_WAITOK); in mac_pipe_label_alloc()
68 MAC_POLICY_PERFORM(pipe_init_label, label); in mac_pipe_label_alloc()
69 return (label); in mac_pipe_label_alloc()
83 mac_pipe_label_free(struct label *label) in mac_pipe_label_free() argument
86 MAC_POLICY_PERFORM_NOSLEEP(pipe_destroy_label, label); in mac_pipe_label_free()
87 mac_labelzone_free(label); in mac_pipe_label_free()
101 mac_pipe_copy_label(struct label *src, struct label *dest) in mac_pipe_copy_label()
108 mac_pipe_externalize_label(struct label *label, char *elements, in mac_pipe_externalize_label() argument
113 MAC_POLICY_EXTERNALIZE(pipe, label, elements, outbuf, outbuflen); in mac_pipe_externalize_label()
119 mac_pipe_internalize_label(struct label *label, char *string) in mac_pipe_internalize_label() argument
123 MAC_POLICY_INTERNALIZE(pipe, label, string); in mac_pipe_internalize_label()
137 struct label *newlabel) in mac_pipe_relabel()
199 struct label *newlabel) in mac_pipe_check_relabel()
246 struct label *label) in mac_pipe_label_set() argument
252 error = mac_pipe_check_relabel(cred, pp, label); in mac_pipe_label_set()
256 mac_pipe_relabel(cred, pp, label); in mac_pipe_label_set()