Searched refs:lctx (Results 1 - 8 of 8) sorted by relevance

/xnu-2782.1.97/security/
H A Dmac_process.c519 mac_lctx_notify_create (struct proc *p, struct lctx *l)
525 mac_lctx_notify_join (struct proc *p, struct lctx *l)
531 mac_lctx_notify_leave (struct proc *p, struct lctx *l)
562 error = MAC_EXTERNALIZE(lctx, label, elements, outbuf, outbuflen);
572 error = MAC_INTERNALIZE(lctx, label, string);
578 mac_lctx_label_update(struct lctx *l, struct label *newlabel)
585 mac_lctx_check_label_update(struct lctx *l, struct label *newlabel)
H A Dmac_framework.h99 struct lctx;
240 void mac_lctx_label_update(struct lctx *l, struct label *newlabel);
241 int mac_lctx_check_label_update(struct lctx *l, struct label *newlabel);
242 void mac_lctx_notify_create(proc_t proc, struct lctx *l);
243 void mac_lctx_notify_join(proc_t proc, struct lctx *l);
244 void mac_lctx_notify_leave(proc_t proc, struct lctx *l);
H A Dmac_policy.h98 struct lctx;
1441 struct lctx *l,
1518 struct lctx *l,
1532 struct lctx *l
1545 struct lctx *l
1558 struct lctx *l
H A Dmac_base.c1336 struct lctx *l;
/xnu-2782.1.97/bsd/sys/
H A Dproc_internal.h109 struct lctx { struct
110 LIST_ENTRY(lctx) lc_list; /* List of all login contexts. */
365 struct lctx *p_lctx; /* Pointer to login context. */
366 LIST_ENTRY(proc) p_lclist; /* List of processes in lctx. */
713 extern struct lctx *lcfind(pid_t); /* Find a login context by id */
714 extern struct lctx *lccreate(void); /* Create a new login context */
717 extern void enterlctx(struct proc *p, struct lctx *l, int create);
H A DMakefile26 kauth.h kdebug.h kern_control.h lctx.h lockstat.h malloc.h \
76 ioctl_compat.h kernel.h kernel_types.h kern_event.h lctx.h lock.h lockf.h \
/xnu-2782.1.97/bsd/kern/
H A Dkern_proc.c160 LIST_HEAD(lctxlist, lctx);
1652 /* allocate lctx lock group attribute and group */
1656 lctx_lck_grp = lck_grp_alloc_init("lctx", lctx_lck_grp_attr);
1657 /* Allocate lctx lock attribute */
1666 struct lctx *
1669 struct lctx *l;
1689 struct lctx *
1692 struct lctx *l;
1703 MALLOC(l, struct lctx *, sizeof(struct lctx), M_LCT
[all...]
H A Dkern_prot.c102 #include <sys/lctx.h>
2051 struct lctx *l;

Completed in 83 milliseconds