Searched refs:p_lctx (Results 1 - 7 of 7) sorted by relevance

/xnu-2782.1.97/bsd/kern/
H A Dkern_fork.c1369 child_proc->p_lctx = NULL;
1371 if (parent_proc->p_lctx != NULL) {
1376 LCTX_LOCK(parent_proc->p_lctx);
1377 enterlctx(child_proc, parent_proc->p_lctx, 0);
H A Dkern_prot.c2083 if (p->p_lctx == NULL) {
2102 if (p->p_lctx != NULL) {
2176 if (p->p_lctx == NULL) {
2181 *retval = p->p_lctx->lc_id;
H A Dkern_sysctl.c664 if ((p->p_lctx == NULL) ||
665 (p->p_lctx->lc_id != (pid_t)*(int*)arg))
913 if (p->p_lctx)
914 ep->e_lcid = p->p_lctx->lc_id;
973 if (p->p_lctx)
974 ep->e_lcid = p->p_lctx->lc_id;
H A Dkern_proc.c1731 p->p_lctx = l;
1755 if (p->p_lctx == NULL) {
1759 LCTX_LOCK(p->p_lctx);
1760 l = p->p_lctx;
1761 p->p_lctx = NULL;
H A Dbsd_init.c537 kernproc->p_lctx = NULL;
/xnu-2782.1.97/security/
H A Dmac_base.c1437 if (p->p_lctx == NULL) {
1443 error = mac_lctx_label_externalize(p->p_lctx->lc_label,
1497 if (p->p_lctx == NULL) {
1503 error = mac_lctx_check_label_update(p->p_lctx, intlabel);
1508 mac_lctx_label_update(p->p_lctx, intlabel);
/xnu-2782.1.97/bsd/sys/
H A Dproc_internal.h365 struct lctx *p_lctx; /* Pointer to login context. */ member in struct:proc

Completed in 52 milliseconds