Lines Matching refs:proc
520 identitysvc(__unused struct proc *p, struct identitysvc_args *uap, __unused int32_t *retval)
3265 struct proc *p;
3291 proc_t proc;
3294 proc = current_proc();
3296 kauth_cred_uthread_update(uthread, proc);
3302 * Description: Given a uthread, a proc, and whether or not the proc is locked,
3303 * late-bind the uthread cred to the proc cred.
3317 kauth_cred_uthread_update(uthread_t uthread, proc_t proc)
3319 if (uthread->uu_ucred != proc->p_ucred &&
3322 uthread->uu_ucred = kauth_cred_proc_ref(proc);
3356 struct proc *procp;
4203 int kauth_proc_label_update(struct proc *p, struct label *label)
4241 /* update cred on proc */
4249 /* Drop old proc reference or our extra reference */
4279 kauth_proc_label_update_execve(struct proc *p, vfs_context_t ctx,
4319 /* update cred on proc */
4326 /* Drop old proc reference or our extra reference */
4343 int kauth_proc_setlabel(struct proc *p, struct label *label);
4345 kauth_proc_setlabel(struct proc *p, struct label *label)
4364 kauth_proc_label_update(__unused struct proc *p, __unused void *label)
4380 int kauth_proc_setlabel(struct proc *p, void *label);
4382 kauth_proc_setlabel(__unused struct proc *p, __unused void *label)
4402 * if necessary (e.g. the proc lock is held over the call if the