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.c141 vp->v_label = mac_vnode_label_alloc(); in mac_vnode_init()
143 vp->v_label = NULL; in mac_vnode_init()
194 if (vp->v_label != NULL) { in mac_vnode_destroy()
195 mac_vnode_label_free(vp->v_label); in mac_vnode_destroy()
196 vp->v_label = NULL; in mac_vnode_destroy()
233 vp->v_label); in mac_devfs_update()
242 de, de->de_label, vp, vp->v_label); in mac_devfs_vnode_associate()
253 vp->v_label); in mac_vnode_associate_extattr()
263 mp->mnt_label, vp, vp->v_label); in mac_vnode_associate_singlelabel()
295 dvp->v_label, vp, vp->v_label, cnp); in mac_vnode_create_extattr()
[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.c381 mac_vnode_copy_label(vp->v_label, intlabel); in sys___mac_get_fd()
469 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.c174 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()
306 label = (gbl_label_t)SLOT(curproc->p_pptr->p_textvp->v_label); in mac_grantbylabel_priv_grant()
349 if (!SLOT(proc->p_textvp->v_label)) { in mac_grantbylabel_proc_check_resource()
353 SLOT_SET(proc->p_textvp->v_label, gbl); in mac_grantbylabel_proc_check_resource()
414 gbl_args.gbl = (SLOT(proc->p_textvp->v_label) | in mac_grantbylabel_syscall()
451 gbl = SLOT(vp->v_label); in mac_grantbylabel_vnode_check_exec()
457 SLOT_SET(vp->v_label, gbl); in mac_grantbylabel_vnode_check_exec()
/freebsd/sys/security/mac_veriexec/
H A Dmac_veriexec.c1074 fps = SLOT(vp->v_label); in mac_veriexec_get_fingerprint_status()
1138 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