p_cred 1069 compat/hpux/hpux_compat.c cred->cr_uid = p->p_cred->p_ruid; p_cred 1088 compat/hpux/hpux_compat.c cred->cr_gid = p->p_cred->p_rgid; p_cred 1091 compat/hpux/hpux_compat.c cred->cr_gid = p->p_cred->p_rgid; p_cred 1379 compat/linux/linux_misc.c if (p->p_cred->p_ruid != uid) p_cred 1457 compat/linux/linux_misc.c *retval = p->p_cred->p_ruid; p_cred 1468 compat/linux/linux_misc.c *retval = p->p_cred->p_rgid; p_cred 129 compat/linux/linux_sched.c struct pcred *pc = cp->p_cred; p_cred 135 compat/linux/linux_sched.c pc->p_ruid == p->p_cred->p_ruid || p_cred 136 compat/linux/linux_sched.c pc->pc_ucred->cr_uid == p->p_cred->p_ruid || p_cred 166 compat/linux/linux_sched.c struct pcred *pc = cp->p_cred; p_cred 172 compat/linux/linux_sched.c pc->p_ruid == p->p_cred->p_ruid || p_cred 173 compat/linux/linux_sched.c pc->pc_ucred->cr_uid == p->p_cred->p_ruid || p_cred 210 compat/linux/linux_sched.c struct pcred *pc = cp->p_cred; p_cred 216 compat/linux/linux_sched.c pc->p_ruid == p->p_cred->p_ruid || p_cred 217 compat/linux/linux_sched.c pc->pc_ucred->cr_uid == p->p_cred->p_ruid || p_cred 250 compat/linux/linux_sched.c struct pcred *pc = cp->p_cred; p_cred 256 compat/linux/linux_sched.c pc->p_ruid == p->p_cred->p_ruid || p_cred 257 compat/linux/linux_sched.c pc->pc_ucred->cr_uid == p->p_cred->p_ruid || p_cred 85 compat/osf1/osf1_prot.c struct pcred *pc = p->p_cred; p_cred 124 compat/osf1/osf1_prot.c struct pcred *pc = p->p_cred; p_cred 102 compat/svr4/svr4_exec.c a->au_v = p->p_cred->ruid; p_cred 110 compat/svr4/svr4_exec.c a->au_v = p->p_cred->rgid; p_cred 576 dev/systrace.c fst->p_ruid = p->p_cred->p_ruid; p_cred 577 dev/systrace.c fst->p_rgid = p->p_cred->p_rgid; p_cred 742 dev/systrace.c maycontrol = fst->p_ruid == p->p_cred->p_ruid && p_cred 743 dev/systrace.c fst->p_rgid == p->p_cred->p_rgid; p_cred 822 dev/systrace.c pc = p->p_cred; p_cred 893 dev/systrace.c if (olduid != p->p_cred->p_ruid || p_cred 894 dev/systrace.c oldgid != p->p_cred->p_rgid) { p_cred 918 dev/systrace.c struct pcred *pc = p->p_cred; p_cred 937 dev/systrace.c struct pcred *pc = p->p_cred; p_cred 1272 dev/systrace.c if ((proc->p_cred->p_ruid != p->p_cred->p_ruid || p_cred 1332 dev/systrace.c fst->p_ruid != p->p_cred->p_ruid || p_cred 1333 dev/systrace.c fst->p_rgid != p->p_cred->p_rgid) { p_cred 1493 dev/systrace.c fst->p_ruid != p->p_cred->p_ruid || p_cred 1494 dev/systrace.c fst->p_rgid != p->p_cred->p_rgid)) { p_cred 1748 dev/systrace.c msg_ugid->uid = p->p_cred->p_ruid; p_cred 1749 dev/systrace.c msg_ugid->gid = p->p_cred->p_rgid; p_cred 284 kern/init_main.c p->p_cred = &cred0; p_cred 215 kern/kern_acct.c acct.ac_uid = p->p_cred->p_ruid; p_cred 216 kern/kern_acct.c acct.ac_gid = p->p_cred->p_rgid; p_cred 385 kern/kern_descrip.c so->so_siguid = p->p_cred->p_ruid; p_cred 204 kern/kern_event.c if ((p->p_cred->p_ruid != curproc->p_cred->p_ruid || p_cred 477 kern/kern_exec.c if (p->p_ucred->cr_uid != p->p_cred->p_ruid || p_cred 478 kern/kern_exec.c p->p_ucred->cr_uid != p->p_cred->p_svuid || p_cred 479 kern/kern_exec.c p->p_ucred->cr_gid != p->p_cred->p_rgid || p_cred 480 kern/kern_exec.c p->p_ucred->cr_gid != p->p_cred->p_svgid) p_cred 574 kern/kern_exec.c p->p_cred->p_svuid = p->p_ucred->cr_uid; p_cred 575 kern/kern_exec.c p->p_cred->p_svgid = p->p_ucred->cr_gid; p_cred 591 kern/kern_exit.c (void)chgproccnt(p->p_cred->p_ruid, -1); p_cred 190 kern/kern_fork.c uid = p1->p_cred->p_ruid; p_cred 501 kern/kern_ktrace.c struct pcred *caller = callp->p_cred; p_cred 502 kern/kern_ktrace.c struct pcred *target = targetp->p_cred; p_cred 454 kern/kern_proc.c p->p_cred->p_ruid, p->p_stat, p->p_flag, p_cred 152 kern/kern_prot.c *retval = p->p_cred->p_ruid; p_cred 185 kern/kern_prot.c *retval = p->p_cred->p_rgid; p_cred 213 kern/kern_prot.c struct pcred *pc = p->p_cred; p_cred 307 kern/kern_prot.c struct pcred *pc = p->p_cred; p_cred 334 kern/kern_prot.c struct pcred *pc = p->p_cred; p_cred 407 kern/kern_prot.c struct pcred *pc = p->p_cred; p_cred 434 kern/kern_prot.c struct pcred *pc = p->p_cred; p_cred 500 kern/kern_prot.c struct pcred *pc = p->p_cred; p_cred 530 kern/kern_prot.c struct pcred *pc = p->p_cred; p_cred 559 kern/kern_prot.c struct pcred *pc = p->p_cred; p_cred 608 kern/kern_prot.c struct pcred *pc = p->p_cred; p_cred 637 kern/kern_prot.c struct pcred *pc = p->p_cred; p_cred 676 kern/kern_prot.c struct pcred *pc = p->p_cred; p_cred 706 kern/kern_prot.c struct pcred *pc = p->p_cred; p_cred 178 kern/kern_resource.c struct pcred *pcred = curp->p_cred; p_cred 129 kern/kern_sig.c if (pc->p_ruid == q->p_cred->p_ruid || p_cred 130 kern/kern_sig.c pc->pc_ucred->cr_uid == q->p_cred->p_ruid || p_cred 142 kern/kern_sig.c if (pc->p_ruid == q->p_cred->p_ruid || p_cred 143 kern/kern_sig.c pc->p_ruid == q->p_cred->p_svuid || p_cred 144 kern/kern_sig.c pc->pc_ucred->cr_uid == q->p_cred->p_ruid || p_cred 145 kern/kern_sig.c pc->pc_ucred->cr_uid == q->p_cred->p_svuid || p_cred 583 kern/kern_sig.c struct pcred *pc = cp->p_cred; p_cred 616 kern/kern_sig.c struct pcred *pc = cp->p_cred; p_cred 657 kern/kern_sig.c (uid) == (p)->p_cred->p_ruid || \ p_cred 658 kern/kern_sig.c (uid) == (p)->p_cred->p_svuid || \ p_cred 660 kern/kern_sig.c (euid) == (p)->p_cred->p_ruid || \ p_cred 661 kern/kern_sig.c (euid) == (p)->p_cred->p_svuid || \ p_cred 1390 kern/kern_sig.c cred->cr_uid = p->p_cred->p_ruid; p_cred 1391 kern/kern_sig.c cred->cr_gid = p->p_cred->p_rgid; p_cred 1050 kern/kern_sysctl.c if (p->p_cred->p_ruid != (uid_t)arg) p_cred 1135 kern/kern_sysctl.c ep->e_pcred = *p->p_cred; p_cred 1223 kern/kern_sysctl.c ki->p_ruid = p->p_cred->p_ruid; p_cred 1225 kern/kern_sysctl.c ki->p_rgid = p->p_cred->p_rgid; p_cred 1226 kern/kern_sysctl.c ki->p_svuid = p->p_cred->p_svuid; p_cred 1227 kern/kern_sysctl.c ki->p_svgid = p->p_cred->p_svgid; p_cred 1229 kern/kern_sysctl.c memcpy(ki->p_groups, p->p_cred->pc_ucred->cr_groups, p_cred 1230 kern/kern_sysctl.c min(sizeof(ki->p_groups), sizeof(p->p_cred->pc_ucred->cr_groups))); p_cred 1231 kern/kern_sysctl.c ki->p_ngroups = p->p_cred->pc_ucred->cr_ngroups; p_cred 300 kern/subr_log.c logsoftc.sc_siguid = p->p_cred->p_ruid; p_cred 566 kern/sys_generic.c so->so_siguid = p->p_cred->p_ruid; p_cred 153 kern/sys_process.c if ((t->p_cred->p_ruid != p->p_cred->p_ruid || p_cred 558 kern/sys_process.c if ((t->p_cred->p_ruid != p->p_cred->p_ruid || p_cred 105 kern/sys_socket.c so->so_siguid = p->p_cred->p_ruid; p_cred 1163 kern/tty_pty.c uid = p->p_cred->p_ruid; p_cred 113 kern/uipc_socket.c so->so_ruid = p->p_cred->p_ruid; p_cred 115 kern/uipc_socket.c so->so_rgid = p->p_cred->p_rgid; p_cred 1471 kern/vfs_syscalls.c cred->cr_uid = p->p_cred->p_ruid; p_cred 1472 kern/vfs_syscalls.c cred->cr_gid = p->p_cred->p_rgid; p_cred 859 net/bpf.c d->bd_siguid = p->p_cred->p_ruid; p_cred 671 net/if_tun.c tp->tun_siguid = p->p_cred->p_ruid; p_cred 1145 net/pf_ioctl.c rule->cuid = p->p_cred->p_ruid; p_cred 1394 net/pf_ioctl.c newrule->cuid = p->p_cred->p_ruid; p_cred 164 sys/proc.h #define p_ucred p_cred->pc_ucred p_cred 1006 ufs/ufs/ufs_quota.c uid = p->p_cred->p_ruid; p_cred 1013 ufs/ufs/ufs_quota.c if (uid == p->p_cred->p_ruid)