Home
last modified time | relevance | path

Searched refs:p_label (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/security/mac/
H A Dmac_process.c103 p->p_label = mac_proc_label_alloc(); in mac_proc_init()
105 p->p_label = NULL; in mac_proc_init()
120 if (p->p_label != NULL) { in mac_proc_destroy()
121 mac_proc_label_free(p->p_label); in mac_proc_destroy()
122 p->p_label = NULL; in mac_proc_destroy()
/freebsd/sys/security/mac_grantbylabel/
H A Dmac_grantbylabel.c235 SLOT(curproc->p_label)); in mac_grantbylabel_priv_grant()
316 SLOT_SET(curproc->p_label, GBL_VERIEXEC); in mac_grantbylabel_priv_grant()
322 label = (gbl_label_t)SLOT(curproc->p_label); in mac_grantbylabel_priv_grant()
415 SLOT(proc->p_label)); in mac_grantbylabel_syscall()
482 SLOT_SET(imgp->proc->p_label, gbl); in mac_grantbylabel_vnode_execve_will_transition()
/freebsd/sys/security/mac_lomac/
H A Dmac_lomac.c501 subj = PSLOT(curthread->td_proc->p_label); in maybe_demote()
2240 struct mac_lomac_proc *subj = PSLOT(p->p_label); in lomac_thread_userret()
/freebsd/sys/sys/
H A Dproc.h757 struct label *p_label; /* (*) Proc (not subject) MAC label. */ member