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

/darwin-on-arm/xnu/security/
H A Dmac_process.c509 mac_lctx_notify_create (struct proc *p, struct lctx *l)
515 mac_lctx_notify_join (struct proc *p, struct lctx *l)
521 mac_lctx_notify_leave (struct proc *p, struct lctx *l)
552 error = MAC_EXTERNALIZE(lctx, label, elements, outbuf, outbuflen);
562 error = MAC_INTERNALIZE(lctx, label, string);
568 mac_lctx_label_update(struct lctx *l, struct label *newlabel)
575 mac_lctx_check_label_update(struct lctx *l, struct label *newlabel)
H A Dmac_framework.h97 struct lctx;
238 void mac_lctx_label_update(struct lctx *l, struct label *newlabel);
239 int mac_lctx_check_label_update(struct lctx *l, struct label *newlabel);
240 void mac_lctx_notify_create(proc_t proc, struct lctx *l);
241 void mac_lctx_notify_join(proc_t proc, struct lctx *l);
242 void mac_lctx_notify_leave(proc_t proc, struct lctx *l);
H A Dmac_policy.h94 struct lctx;
1365 struct lctx *l,
1442 struct lctx *l,
1456 struct lctx *l
1469 struct lctx *l
1482 struct lctx *l
H A Dmac_base.c1495 struct lctx *l;
/darwin-on-arm/xnu/bsd/sys/
H A Dproc_internal.h109 struct lctx { struct
110 LIST_ENTRY(lctx) lc_list; /* List of all login contexts. */
360 struct lctx *p_lctx; /* Pointer to login context. */
361 LIST_ENTRY(proc) p_lclist; /* List of processes in lctx. */
673 extern struct lctx *lcfind(pid_t); /* Find a login context by id */
674 extern struct lctx *lccreate(void); /* Create a new login context */
677 extern void enterlctx(struct proc *p, struct lctx *l, int create);
H A DMakefile25 kauth.h kdebug.h kern_control.h kern_memorystatus.h lctx.h malloc.h \
70 ioctl_compat.h kernel.h kernel_types.h kern_event.h lctx.h lock.h lockf.h \
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_proc.c150 LIST_HEAD(lctxlist, lctx);
1502 /* allocate lctx lock group attribute and group */
1506 lctx_lck_grp = lck_grp_alloc_init("lctx", lctx_lck_grp_attr);
1507 /* Allocate lctx lock attribute */
1516 struct lctx *
1519 struct lctx *l;
1539 struct lctx *
1542 struct lctx *l;
1553 MALLOC(l, struct lctx *, sizeof(struct lctx), M_LCT
[all...]
H A Dkern_prot.c102 #include <sys/lctx.h>
2089 struct lctx *l;

Completed in 177 milliseconds