Home
last modified time | relevance | path

Searched refs:v_label (Results 1 – 8 of 8) sorted by relevance

/freebsd/sys/security/mac/
H A Dmac_vfs.c143 vp->v_label = NULL; in mac_vnode_init()
196 vp->v_label = NULL; in mac_vnode_destroy()
233 vp->v_label); in mac_devfs_update()
253 vp->v_label); in mac_vnode_associate_extattr()
295 dvp->v_label, vp, vp->v_label, cnp); in mac_vnode_create_extattr()
537 vp->v_label, cnp); in mac_vnode_check_link()
656 vp->v_label); in mac_vnode_check_poll()
675 vp->v_label); in mac_vnode_check_read_impl()
744 vp->v_label, cnp); in mac_vnode_check_rename_from()
900 vp->v_label); in mac_vnode_check_stat_impl()
[all …]
H A Dmac_system.c133 MAC_POLICY_CHECK(kld_check_load, cred, vp, vp->v_label); in mac_kld_check_load()
165 vp != NULL ? vp->v_label : NULL); in mac_system_check_acct()
194 MAC_POLICY_CHECK(system_check_swapon, cred, vp, vp->v_label); in mac_system_check_swapon()
210 MAC_POLICY_CHECK(system_check_swapoff, cred, vp, vp->v_label); in mac_system_check_swapoff()
H A Dmac_audit.c122 vl = (vp != NULL) ? vp->v_label : NULL; in mac_system_check_auditctl()
H A Dmac_syscalls.c268 mac_vnode_copy_label(vp->v_label, intlabel); in sys___mac_get_fd()
367 mac_vnode_copy_label(nd.ni_vp->v_label, intlabel); in kern___mac_get_path()
H A Dmac_process.c189 mac_vnode_copy_label(interpvp->v_label, *interpvplabel); in mac_execve_interpreter_enter()
/freebsd/sys/security/mac_grantbylabel/
H A Dmac_grantbylabel.c175 gbl = SLOT(vp->v_label); in gbl_get_vlabel()
234 label = (gbl_label_t)(SLOT(curproc->p_textvp->v_label) | in mac_grantbylabel_priv_grant()
305 label = (gbl_label_t)SLOT(curproc->p_pptr->p_textvp->v_label); in mac_grantbylabel_priv_grant()
348 if (!SLOT(proc->p_textvp->v_label)) { in mac_grantbylabel_proc_check_resource()
352 SLOT_SET(proc->p_textvp->v_label, gbl); in mac_grantbylabel_proc_check_resource()
413 gbl_args.gbl = (SLOT(proc->p_textvp->v_label) | in mac_grantbylabel_syscall()
450 gbl = SLOT(vp->v_label); in mac_grantbylabel_vnode_check_exec()
456 SLOT_SET(vp->v_label, gbl); in mac_grantbylabel_vnode_check_exec()
/freebsd/sys/security/mac_veriexec/
H A Dmac_veriexec.c1075 fps = SLOT(vp->v_label); in mac_veriexec_get_fingerprint_status()
1139 SLOT_SET(vp->v_label, fp_status); in mac_veriexec_set_fingerprint_status()
/freebsd/sys/sys/
H A Dvnode.h185 struct label *v_label; /* MAC label for vnode */ member