Lines Matching refs:proc
392 identitysvc(__unused struct proc *p, struct identitysvc_args *uap, __unused register_t *retval)
2458 struct proc *p;
2484 * Description: Given a uthread, a proc, and whether or not the proc is locked,
2485 * late-bind the uthread cred to the proc cred.
2499 kauth_cred_uthread_update(uthread_t uthread, proc_t proc)
2501 if (uthread->uu_ucred != proc->p_ucred &&
2504 uthread->uu_ucred = kauth_cred_proc_ref(proc);
2538 struct proc *procp;
3296 int kauth_proc_label_update(struct proc *p, struct label *label)
3339 /* Drop old proc reference or our extra reference */
3369 kauth_proc_label_update_execve(struct proc *p, vfs_context_t ctx,
3414 /* Drop old proc reference or our extra reference */
3431 int kauth_proc_setlabel(struct proc *p, struct label *label);
3433 kauth_proc_setlabel(struct proc *p, struct label *label)
3452 kauth_proc_label_update(__unused struct proc *p, __unused void *label)
3468 int kauth_proc_setlabel(struct proc *p, void *label);
3470 kauth_proc_setlabel(__unused struct proc *p, __unused void *label)
3490 * if necessary (e.g. the proc lock is held over the call if the