Searched refs:mac_vnode_label (Results 1 – 11 of 11) sorted by relevance
| /xnu-11215/security/ |
| H A D | mac_vfs.c | 194 mac_vnode_label(vnode_t vp) in mac_vnode_label() function 242 return mac_vnode_label(vp); in mac_vnode_label_allocate() 358 mac_vnode_label(vp)); in mac_devfs_label_update() 420 mac_vnode_label(vp)); in mac_vnode_label_associate_extattr() 464 dvp, mac_vnode_label(dvp), vp, mac_vnode_label(vp), cnp); in mac_vnode_notify_create() 1769 mac_vnode_label(fvp), fcnp, tdvp, mac_vnode_label(tdvp), tvp, in mac_vnode_check_rename() 2691 MAC_PERFORM(vnode_label_copy, mac_vnode_label(fvp), mac_vnode_label(vp)); in mac_vnode_label_associate_fdesc() 2747 l = mac_vnode_label(vp); in mac_vnode_label_get() 2760 l = mac_vnode_label(vp); in mac_vnode_label_set() 2939 tdvp, mac_vnode_label(tdvp), tvp, mac_vnode_label(tvp), tcnp); in mac_vnode_check_rename_swap() [all …]
|
| H A D | mac_system.c | 85 vp != NULL ? mac_vnode_label(vp) : NULL); in mac_system_check_acct() 188 MAC_CHECK(system_check_swapon, cred, vp, mac_vnode_label(vp)); in mac_system_check_swapon() 204 MAC_CHECK(system_check_swapoff, cred, vp, mac_vnode_label(vp)); in mac_system_check_swapoff()
|
| H A D | mac_vfs_subr.c | 90 if (mac_vnode_label(vp) == NULL) { in vnode_label()
|
| H A D | mac_audit.c | 105 struct label *vl = vp ? mac_vnode_label(vp) : NULL; in mac_system_check_auditctl()
|
| H A D | mac_base.c | 1334 mac_vnode_label_copy(mac_vnode_label(vp), intlabel); in __mac_get_fd() 1382 mac_vnode_label_copy(mac_vnode_label(vp), intlabel); in mac_get_filelink()
|
| H A D | mac_framework.h | 555 struct label *mac_vnode_label(struct vnode *vp);
|
| /xnu-11215/bsd/kern/ |
| H A D | kern_guarded.c | 951 if (NULL != mac_vnode_label(vp)) { in vnguard_sysc_getguardattr() 952 const struct vng_info *vgi = vng_lbl_get(mac_vnode_label(vp)); in vnguard_sysc_getguardattr() 1032 struct vng_info *vgi = vng_lbl_get(mac_vnode_label(vp)); in vnguard_sysc_setguard() 1046 vng_lbl_set(mac_vnode_label(vp), nvgi); in vnguard_sysc_setguard() 1149 vng_lbl_set(mac_vnode_label(vp), 0); in vng_file_label_destroy()
|
| H A D | posix_shm.c | 1131 mac_posixshm_label(&pshm->pshm_hdr), vp, mac_vnode_label(vp)); in pshm_label_associate()
|
| H A D | posix_sem.c | 1108 vp, mac_vnode_label(vp)); in psem_label_associate()
|
| H A D | kern_exec.c | 2375 mac_vnode_label_copy(mac_vnode_label(imgp->ip_vp), in exec_activate_image()
|
| /xnu-11215/bsd/vfs/ |
| H A D | vfs_subr.c | 6011 if (vp->v_lflag & VL_LABELED || mac_vnode_label(vp) != NULL) { in new_vnode() 6180 struct label *tmpl = mac_vnode_label(vp); in vnode_drop_internal()
|