Lines Matching defs:label
77 partition_check(struct label *subject, struct label *object)
90 * If the object label hasn't been allocated, then it's effectively
91 * not in a partition, and we know the subject is as it has a label
108 partition_cred_check_relabel(struct ucred *cred, struct label *newlabel)
116 * partition label. If we ever want to support switching back to an
145 partition_cred_copy_label(struct label *src, struct label *dest)
169 partition_cred_destroy_label(struct label *label)
172 SLOT_SET(label, 0);
176 partition_cred_externalize_label(struct label *label, char *element_name,
185 if (label != NULL) {
186 if (sbuf_printf(sb, "%jd", (intmax_t)SLOT(label)) == -1)
196 partition_cred_init_label(struct label *label)
199 SLOT_SET(label, 0);
203 partition_cred_internalize_label(struct label *label, char *element_name,
211 SLOT_SET(label, strtol(element_data, NULL, 10));
216 partition_cred_relabel(struct ucred *cred, struct label *newlabel)
225 struct label *inplabel)
267 struct label *solabel)
278 struct label *vplabel, struct image_params *imgp,
279 struct label *execlabel)
286 * non-NULL partition label changes in execlabel.