/titanic_44/usr/src/uts/i86pc/os/ |
H A D | dtrace_subr.c | 185 if (curthread->t_cred != p->p_cred) { in dtrace_user_probe() 186 cred_t *oldcred = curthread->t_cred; in dtrace_user_probe() 192 curthread->t_cred = crgetcred(); in dtrace_user_probe()
|
H A D | trap.c | 545 if (ct->t_cred != p->p_cred) { in trap() 546 cred_t *oldcred = ct->t_cred; in trap() 552 ct->t_cred = crgetcred(); in trap()
|
/titanic_44/usr/src/uts/common/os/ |
H A D | panic.c | 378 if (t->t_cred == NULL) in panicsys() 379 t->t_cred = kcred; in panicsys()
|
H A D | cred.c | 234 curthread->t_cred = kcred; in cred_init() 324 oldcr = t->t_cred; in crset() 325 t->t_cred = cr; /* the cred is held by caller for this thread */ in crset()
|
H A D | evchannels.c | 1089 p->ch_uid = crgetuid(curthread->t_cred); in evch_chbind() 1090 p->ch_gid = crgetgid(curthread->t_cred); in evch_chbind() 2281 uid_t uid = crgetuid(curthread->t_cred); in evch_usrcontrol_set()
|
H A D | exec.c | 804 oldcred = curthread->t_cred; in gexec() 805 curthread->t_cred = cred; in gexec()
|
H A D | driver_lyr.c | 558 cred_t *saved_cred = curthread->t_cred; in ldi_vp_from_name() 561 curthread->t_cred = kcred; in ldi_vp_from_name() 576 curthread->t_cred = saved_cred; in ldi_vp_from_name()
|
/titanic_44/usr/src/uts/common/disp/ |
H A D | thread_intr.c | 72 tp->t_cred = NULL; in thread_create_intr()
|
H A D | thread.c | 424 crhold(t->t_cred = pp->p_cred); in thread_create() 740 if (t->t_cred != NULL) { in thread_free() 741 crfree(t->t_cred); in thread_free() 742 t->t_cred = 0; in thread_free() 826 if ((cr = (*tp)->t_cred) != NULL && crgetzoneid(cr) == zoneid) { in thread_zone_cleanup() 1386 tp->t_cred = NULL; in thread_create_intr()
|
/titanic_44/usr/src/uts/common/syscall/ |
H A D | uadmin.c | 236 if (curthread->t_cred == NULL) in kadmin() 237 curthread->t_cred = kcred; in kadmin()
|
H A D | groups.c | 135 cr = curthread->t_cred; in getgroups()
|
H A D | gid.c | 137 cr = curthread->t_cred; in getgid()
|
H A D | uid.c | 182 cr = curthread->t_cred; in getuid()
|
H A D | lgrpsys.c | 346 if (t->t_cid == 0 || !hasprocperm(t->t_cred, CRED())) { in lgrp_affinity_get_thread() 588 if (t->t_cid == 0 || !hasprocperm(t->t_cred, CRED())) { in lgrp_affinity_set_thread() 959 if (t->t_cid == 0 || !hasprocperm(t->t_cred, CRED())) { in lgrp_home_thread()
|
H A D | pset.c | 273 if (!hasprocperm(tp->t_cred, CRED())) in pset_bind_thread()
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | cred.h | 52 #define CRED() curthread->t_cred
|
H A D | thread.h | 181 struct cred *t_cred; /* pointer to current cred */ member
|
/titanic_44/usr/src/uts/common/rpc/sec/ |
H A D | sec_clnt.c | 496 savecred = curthread->t_cred; in sec_clnt_geth() 497 curthread->t_cred = cr; in sec_clnt_geth() 520 curthread->t_cred = savecred; in sec_clnt_geth()
|
/titanic_44/usr/src/uts/sun4/os/ |
H A D | trap.c | 192 if (curthread->t_cred != p->p_cred) { in trap() 193 cred_t *oldcred = curthread->t_cred; in trap() 199 curthread->t_cred = crgetcred(); in trap() 1391 if (curthread->t_cred != p->p_cred) { in fpu_trap() 1392 cred_t *oldcred = curthread->t_cred; in fpu_trap() 1398 curthread->t_cred = crgetcred(); in fpu_trap()
|
/titanic_44/usr/src/uts/common/fs/nfs/ |
H A D | nfs_srv.c | 1050 savecred = curthread->t_cred; in rfs_write_sync() 1051 curthread->t_cred = cr; in rfs_write_sync() 1053 curthread->t_cred = savecred; in rfs_write_sync() 1093 savecred = curthread->t_cred; in rfs_write_sync() 1094 curthread->t_cred = cr; in rfs_write_sync() 1096 curthread->t_cred = savecred; in rfs_write_sync() 1586 savecred = curthread->t_cred; in rfs_write() 1587 curthread->t_cred = cr; in rfs_write() 1589 curthread->t_cred = savecred; in rfs_write()
|
H A D | nfs4_client.c | 2696 if (crgetuid(curthread->t_cred) != crgetuid(cr) || in nfs4_write_error() 2697 crgetgid(curthread->t_cred) != crgetgid(cr)) { in nfs4_write_error() 2700 crgetuid(curthread->t_cred), in nfs4_write_error() 2701 crgetgid(curthread->t_cred)); in nfs4_write_error()
|
H A D | nfs4_recovery.c | 2945 sv_cred = curthread->t_cred; in resend_lock() 2946 curthread->t_cred = kcred; in resend_lock() 2949 curthread->t_cred = sv_cred; in resend_lock()
|
/titanic_44/usr/src/uts/intel/ia32/os/ |
H A D | syscall.c | 274 if (t->t_cred != p->p_cred) { in pre_syscall() 275 cred_t *oldcred = t->t_cred; in pre_syscall() 281 t->t_cred = crgetcred(); in pre_syscall()
|
/titanic_44/usr/src/uts/sparc/os/ |
H A D | syscall.c | 380 if (t->t_cred != p->p_cred) { in pre_syscall() 381 cred_t *oldcred = t->t_cred; in pre_syscall() 387 t->t_cred = crgetcred(); in pre_syscall()
|
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | thread.c | 493 mdb_printf(" %?p %?p %?p", t.t_procp, t.t_lwp, t.t_cred); in thread()
|