HomeSort by: relevance | last modified time | path
    Searched refs:cr_uid (Results 1 - 23 of 23) sorted by relevancy

  /src/sys/sys/
ucred.h 50 uid_t cr_uid; /* effective user id */ member in struct:uucred
kauth.h 83 uid_t cr_uid; /* user id */ member in struct:kauth_cred
sysctl.h 321 uid_t cr_uid; /* effective user id */ member in struct:ki_ucred
  /src/sys/conf/
debugsyms.c 40 return cr->cr_uid ? ((lwp_t *)vp->v_mount)->l_proc : NULL;
  /src/sys/kern/
kern_auth.c 110 cred->cr_uid = 0;
169 to->cr_uid = from->cr_uid;
262 return (cred->cr_uid);
323 cred->cr_uid = uid;
595 if (cred1->cr_uid == cred2->cr_uid ||
596 cred1->cr_euid == cred2->cr_uid ||
597 cred1->cr_uid == cred2->cr_euid ||
627 cred->cr_uid = uuc->cr_uid
    [all...]
  /src/lib/libpuffs/
creds.c 61 *ruid = pkcr->pkcr_uuc.cr_uid;
104 return UUCCRED(pkcr) && pkcr->pkcr_uuc.cr_uid == uid;
  /src/sys/fs/nfs/server/
nfs_nfsdsubs.c 1574 if (nd->nd_cred->cr_uid == 0)
1576 if ((NFSVNO_ISSETUID(nvap) && nvap->na_uid != nd->nd_cred->cr_uid) ||
1610 tuid = nd->nd_cred->cr_uid;
1613 nvap->na_uid != nd->nd_cred->cr_uid) {
1614 if (nd->nd_cred->cr_uid == 0) {
1638 nd->nd_cred->cr_uid = 0;
1668 nd->nd_cred->cr_uid = tuid;
nfs_nfsdserv.c 373 else if (nva2.na_uid != nd->nd_cred->cr_uid ||
679 stp->ls_uid = nd->nd_cred->cr_uid;
716 (nva.na_uid != nd->nd_cred->cr_uid ||
834 stp->ls_uid = nd->nd_cred->cr_uid;
899 (forat.na_uid != nd->nd_cred->cr_uid ||
1521 nd->nd_cred->cr_uid = nd->nd_saveduid;
2289 stp->ls_uid = nd->nd_cred->cr_uid;
2388 stp->ls_uid = nd->nd_cred->cr_uid;
2515 stp->ls_uid = nd->nd_cred->cr_uid;
2615 stp->ls_uid = nd->nd_cred->cr_uid;
    [all...]
nfs_nfsdport.c 312 if (cred->cr_uid == 0 && (override & NFSACCCHK_ALLOWROOT))
316 if (getret == 0 && cred->cr_uid == vattr.va_uid)
2675 if (((nd->nd_flag & ND_GSS) == 0 && nd->nd_cred->cr_uid == 0) ||
2678 nd->nd_cred->cr_uid = credanon->cr_uid;
2766 * - if cred->cr_uid == 0 or MNT_EXPORTANON set it to credanon
2848 nd->nd_saveduid = nd->nd_cred->cr_uid;
nfs_nfsdstate.c 655 stp->ls_uid == nd->nd_cred->cr_uid) {
4122 cred->cr_uid = clp->lc_uid;
5234 stp->ls_uid = nd->nd_cred->cr_uid;
5403 if (nd->nd_cred->cr_uid == clp->lc_uid)
5414 if (nd->nd_cred->cr_uid == clp->lc_uid || nd->nd_cred->cr_uid == 0)
  /src/sys/fs/nfs/common/
nfs_commonsubs.c 1517 p->p_cred->p_ruid = cred->cr_uid;
1519 USRQUOTA), cred->cr_uid, (caddr_t)&dqb))
1546 p->p_cred->p_ruid = cred->cr_uid;
1548 USRQUOTA), cred->cr_uid, (caddr_t)&dqb))
1572 p->p_cred->p_ruid = cred->cr_uid;
1574 USRQUOTA), cred->cr_uid, (caddr_t)&dqb))
2272 p->p_cred->p_ruid = cred->cr_uid;
2274 cred->cr_uid, (caddr_t)&dqb))
2379 p->p_cred->p_ruid = cred->cr_uid;
2381 cred->cr_uid, (caddr_t)&dqb)
    [all...]
nfs_commonport.c 247 cr->cr_uid = nfscr->nfsc_uid;
367 cred->cr_uid = 0;
nfs_commonkrpc.c 569 nmp->nm_uid != (uid_t)-1 && cred->cr_uid == (uid_t)0) {
  /src/lib/libkvm/
kvm_proc.c 151 uid_t cr_uid; /* user id */ member in struct:kvm_kauth_cred
276 pc->p_ruid = kauthcred.cr_uid;
285 uc->cr_uid = kauthcred.cr_euid;
331 if (eproc.e_ucred.cr_uid != (uid_t)arg)
558 kp2p->p_uid = kp->kp_eproc.e_ucred.cr_uid;
  /src/sys/coda/
coda_subr.c 351 coda_nc_purge_user(out->coda_purgeuser.cred.cr_uid, IS_DOWNCALL);
coda.h 237 u_int32_t cr_uid, cr_euid, cr_suid, cr_fsuid; /* Real, efftve, set, fs uid*/ member in struct:coda_cred
coda_venus.c 120 (in)->cred.cr_uid = kauth_cred_geteuid(ident); \
124 (in)->cred.cr_uid = -1; \
  /src/sys/fs/nfs/client/
nfs_clvnops.c 303 if (np->n_accesscache[i].uid == cred->cr_uid) {
313 np->n_accesscache[lrupos].uid = cred->cr_uid;
320 KDTRACE_NFS_ACCESSCACHE_LOAD_DONE(vp, cred->cr_uid, rmode, 0);
326 KDTRACE_NFS_ACCESSCACHE_LOAD_DONE(vp, cred->cr_uid, 0,
414 if (ap->a_cred->cr_uid == np->n_accesscache[i].uid) {
428 ap->a_cred->cr_uid, mode);
431 ap->a_cred->cr_uid, mode);
457 if (ap->a_cred->cr_uid == 0 && (ap->a_accmode & VREAD)
nfs_clvfsops.c 1395 if (td->td_ucred->cr_uid != (uid_t)0) {
1405 nmp->nm_uid = td->td_ucred->cr_uid;
nfs_clport.c 1126 nfscr->nfsc_uid = cr->cr_uid;
  /src/sys/nfs/
nfs_syscalls.c 380 LIST_FOREACH(nuidp, NUIDHASH(slp, nsd->nsd_cr.cr_uid),
383 nsd->nsd_cr.cr_uid &&
  /src/usr.sbin/mountd/
mountd.c 2096 cr->cr_uid = pw->pw_uid;
2114 cr->cr_uid = pw->pw_uid;
2116 cr->cr_uid = atoi(username);
  /src/sys/fs/nfs/nlm/
nlm_prot_impl.c 1799 if (cred->cr_uid == 0 || (exflags & MNT_EXPORTANON)) {

Completed in 44 milliseconds