Home
last modified time | relevance | path

Searched refs:crgetuid (Results 1 – 25 of 90) sorted by relevance

1234

/titanic_41/usr/src/uts/common/rpc/sec/
H A Dkey_call.c110 RPCLOG(1, "key_encryptsession(%d, ", (int)crgetuid(cr)); in key_encryptsession()
118 RPCLOG(1, "key_encryptsession(%d, ", (int)crgetuid(cr)); in key_encryptsession()
186 RPCLOG(1, "key_getnetname(%d): ", (int)crgetuid(cr));
193 RPCLOG(1, "key_getnetname(%d): ", (int)crgetuid(cr));
H A Dauthu_prot.c125 uid = crgetuid(cr); in xdr_authkern()
160 uid = crgetuid(cr); in xdr_authloopback()
H A Dsec_clnt.c480 da->da_uid == crgetuid(cr) && in sec_clnt_geth()
554 da->da_uid = crgetuid(cr); in sec_clnt_geth()
703 if (uid != crgetuid(cr) && secpolicy_nfs(cr) != 0) in sec_clnt_revoke()
H A Dauth_kern.c188 IXDR_PUT_U_INT32(ptr, crgetuid(cr)); in authkern_marshal()
H A Dauth_loopb.c193 IXDR_PUT_U_INT32(ptr, crgetuid(cr)); in authloopback_marshal()
H A Dauth_des.c400 (int)crgetuid(cr), clnt_sperrno(stat), stat); in authdes_refresh()
/titanic_41/usr/src/uts/common/fs/tmpfs/
H A Dtmp_subr.c55 if (crgetuid(cred) != tp->tn_uid) { in tmp_taccess()
79 uid_t uid = crgetuid(cr); in tmp_sticky_remove_access()
H A Dtmp_tnode.c180 t->tn_uid = crgetuid(cred); in tmpnode_init()
/titanic_41/usr/src/uts/common/os/
H A Dprocset.c336 if (crgetuid(pp->p_cred) == psp->p_lid) in procinset()
426 if (crgetuid(pp->p_cred) == psp->p_rid) in procinset()
576 if (crgetuid(pp->p_cred) == psp->p_lid) in lwpinset()
662 if (crgetuid(pp->p_cred) == psp->p_rid) in lwpinset()
816 uid = crgetuid(pp->p_cred); in getmyid()
H A Dcore.c269 vattr.va_uid != crgetuid(credp))) { in create_core_file()
362 (uid = crgetuid(credp)) != crgetruid(credp) || in do_core()
490 (void) sprintf((s = buf), "%u", crgetuid(p->p_cred)); in expand_string()
H A Dcontract.c305 ct->ct_cuid = crgetuid(CRED()); in contract_ctor()
1040 fail = crgetuid(cr) != crgetuid(p->p_cred); in contract_checkcred()
1067 euid = crgetuid(cr); in contract_owned()
1081 (crgetuid(kcred) == euid); in contract_owned()
H A Dipc.c478 uid_t uid = crgetuid(cr); in ipcperm_access()
1030 perm->ipc_cuid = perm->ipc_uid = crgetuid(cr); in ipc_get()
/titanic_41/usr/src/lib/libfakekernel/common/
H A Dcred.c50 crgetuid(const cred_t *cr) in crgetuid() function
H A Dmapfile-vers47 crgetuid;
/titanic_41/usr/src/lib/libfakekernel/common/sys/
H A Dcred.h70 extern uid_t crgetuid(const cred_t *);
/titanic_41/usr/src/uts/common/c2/
H A Daudit_kernel.h389 (au_write((u), au_to_subject(crgetuid(c), \
403 (au_write((u), au_to_process(crgetuid(c), \
/titanic_41/usr/src/uts/common/fs/zfs/
H A Ddsl_deleg.c135 (longlong_t)crgetuid(cr)); in dsl_deleg_can_unallow()
438 id = crgetuid(cr); in dsl_check_user_access()
519 id = crgetuid(cr); in dsl_load_user_sets()
720 uint64_t uid = crgetuid(cr); in dsl_deleg_set_create_perms()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_server.c2132 if (!stat || crgetuid(cr) == 0 && !(access & NFSAUTH_UIDMAP)) { in checkauth()
2136 } else if (crgetuid(cr) == 0 && access & NFSAUTH_ROOT) { in checkauth()
2157 } else if (crgetuid(cr) != uid || crgetgid(cr) != gid) { in checkauth()
2210 if (crgetuid(cr) == 0 && secp->s_rootid == 0) in checkauth()
2234 if (crgetuid(cr) != 0 && in checkauth()
2235 (crgetuid(cr) != UID_NOBODY || crgetgid(cr) != GID_NOBODY)) in checkauth()
2370 if (crgetuid(cr) == 0 && !(access & NFSAUTH_UIDMAP)) { in checkauth4()
2374 } else if (crgetuid(cr) == 0 && access & NFSAUTH_ROOT) { in checkauth4()
2397 } else if (crgetuid(cr) != uid || crgetgid(cr) != gid) { in checkauth4()
2452 if (crgetuid(cr) == 0 && secp->s_rootid == 0) { in checkauth4()
[all …]
H A Dnfs_auth.c850 ac.auth_clnt_uid = crgetuid(cr); in nfsauth_cache_get()
923 np->auth_clnt_uid = crgetuid(cr); in nfsauth_cache_get()
1062 &addr, &access, crgetuid(cr), crgetgid(cr), in nfsauth_cache_get()
1216 &access, crgetuid(cr), crgetgid(cr), crgetngroups(cr), in nfsauth_cache_get()
1279 if (crgetuid(cr) == 0) { in nfsauth_access()
1286 *uid = crgetuid(cr); in nfsauth_access()
H A Dnfs4_acache.c56 return ((((intptr_t)rp >> ACACHE4_SHIFT_BITS) + crgetuid(cred)) & in acache4hash()
/titanic_41/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss.c270 uid_t uid = crgetuid(cr); in rpc_gss_secget()
608 crgetuid(cr));
619 desired_mech_type, crgetuid(cr),
801 crgetuid(cr),
823 desired_mech_type, crgetuid(cr),
1238 crgetuid(CRED()));
H A Dsvc_rpcsec_gss.c538 crgetuid(CRED()));
580 &gidlen, crgetuid(CRED()))) != GSS_S_COMPLETE) {
595 &gidlen, crgetuid(CRED()))) != GSS_S_COMPLETE) {
745 crgetuid(CRED())); in do_gss_accept()
803 crgetuid(CRED()), in do_gss_accept()
1701 crgetuid(CRED()));
/titanic_41/usr/src/uts/common/sys/
H A Dcred.h89 extern uid_t crgetuid(const cred_t *);
/titanic_41/usr/src/uts/common/fs/cachefs/
H A Dcachefs_vnops.c2352 crgetuid(cr), vap->va_size); in cachefs_setattr_common()
2407 crgetuid(cr), vap->va_size); in cachefs_setattr_common()
3007 crgetuid(cr), cp->c_size); in cachefs_readlink()
3921 fidp, fileno, crgetuid(cr)); in cachefs_create()
4418 fscp->fs_cfsvfsp, &foo, 0, crgetuid(cr)); in cachefs_remove()
4464 crgetuid(cr)); in cachefs_remove()
5036 fcp->c_attr.va_uid != crgetuid(cr) && secpolicy_basic_link(cr) != 0) in cachefs_link_disconnected()
5332 &gone, 0, (delvp != NULL), crgetuid(cr)); in cachefs_rename()
5911 fidp, fileno, crgetuid(cr)); in cachefs_mkdir()
6366 fidp, fileno, crgetuid(cr)); in cachefs_rmdir()
[all …]
/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_fsinfo.c446 uid = crgetuid(sr->uid_user->u_cred); in smb_fssize()

1234