Lines Matching refs:label

154     struct label *newlabel) __result_use_check;
157 struct label *scriptvnodelabel, struct label *execlabel,
160 struct label *mac_cred_label_alloc(void);
167 struct label *mac_cred_label(kauth_cred_t cred);
169 void mac_cred_label_free(struct label *label);
172 bool mac_cred_label_is_equal(const struct label *a, const struct label *b) __result_use_check;
173 uint32_t mac_cred_label_hash_update(const struct label *a, uint32_t hash);
174 void mac_cred_label_update(kauth_cred_t cred, struct label *newlabel);
177 struct label *scriptvnodelabel, struct label *execlabel, u_int *csflags,
183 void mac_devfs_label_copy(struct label *, struct label *label);
186 struct label *mac_devfs_label(struct devnode *de);
250 int mac_mount_label_externalize(struct label *label, char *elements,
254 struct label *mac_mount_label(struct mount *);
255 int mac_mount_label_internalize(struct label *, char *string) __result_use_check;
269 void mac_pipe_label_free(struct label *label);
271 struct label *mac_pipe_label(struct pipe *cpipe);
272 void mac_pipe_set_label(struct pipe *cpipe, struct label *label);
281 struct pseminfo *psem, struct label *plabel,
282 vnode_t vp, struct label *vlabel);
287 struct label *mac_posixsem_label(struct pseminfo *psem);
299 struct pshminfo *pshm, struct label *plabel,
300 vnode_t vp, struct label *vlabel);
305 struct label *mac_posixshm_label(struct pshminfo *pshm);
372 void mac_socket_label_copy(struct label *from, struct label *to);
399 struct label *mac_sysvmsg_label(struct msg *msgptr);
416 struct label *mac_sysvmsq_label(struct msqid_kernel *msqptr);
428 struct label *mac_sysvsem_label(struct semid_kernel *semakptr);
442 struct label *mac_sysvshm_label(struct shmid_kernel *shmsegptr);
476 struct label *newlabel); __result_use_check
539 struct label *mac_vnode_label_alloc(struct vnode *vp);
549 void mac_vnode_label_copy(struct label *l1, struct label *l2);
552 void mac_vnode_label_free(struct label *label);
555 struct label *mac_vnode_label(struct vnode *vp);
557 struct label *mac_vnode_label_allocate(vnode_t vp);
561 struct label *newlabel);
587 void mac_pty_notify_grant(proc_t p, struct tty *tp, dev_t dev, struct label *label);
588 void mac_pty_notify_close(proc_t p, struct tty *tp, dev_t dev, struct label *label);