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

/darwin-on-arm/xnu/bsd/kern/
H A Dkern_fork.c1347 child_proc->p_lctx = NULL;
1349 if (parent_proc->p_lctx != NULL) {
1354 LCTX_LOCK(parent_proc->p_lctx);
1355 enterlctx(child_proc, parent_proc->p_lctx, 0);
H A Dkern_prot.c2121 if (p->p_lctx == NULL) {
2140 if (p->p_lctx != NULL) {
2214 if (p->p_lctx == NULL) {
2219 *retval = p->p_lctx->lc_id;
H A Dkern_proc.c1581 p->p_lctx = l;
1605 if (p->p_lctx == NULL) {
1609 LCTX_LOCK(p->p_lctx);
1610 l = p->p_lctx;
1611 p->p_lctx = NULL;
H A Dbsd_init.c537 kernproc->p_lctx = NULL;
H A Dkern_sysctl.c1262 if ((p->p_lctx == NULL) ||
1263 (p->p_lctx->lc_id != (pid_t)*(int*)arg))
1511 if (p->p_lctx)
1512 ep->e_lcid = p->p_lctx->lc_id;
1571 if (p->p_lctx)
1572 ep->e_lcid = p->p_lctx->lc_id;
/darwin-on-arm/xnu/security/
H A Dmac_base.c1596 if (p->p_lctx == NULL) {
1602 error = mac_lctx_label_externalize(p->p_lctx->lc_label,
1656 if (p->p_lctx == NULL) {
1662 error = mac_lctx_check_label_update(p->p_lctx, intlabel);
1667 mac_lctx_label_update(p->p_lctx, intlabel);
/darwin-on-arm/xnu/bsd/sys/
H A Dproc_internal.h360 struct lctx *p_lctx; /* Pointer to login context. */ member in struct:proc

Completed in 116 milliseconds