/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | key_call.c | 110 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 D | authu_prot.c | 125 uid = crgetuid(cr); in xdr_authkern() 160 uid = crgetuid(cr); in xdr_authloopback()
|
H A D | sec_clnt.c | 480 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 D | auth_kern.c | 188 IXDR_PUT_U_INT32(ptr, crgetuid(cr)); in authkern_marshal()
|
H A D | auth_loopb.c | 193 IXDR_PUT_U_INT32(ptr, crgetuid(cr)); in authloopback_marshal()
|
/illumos-gate/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_subr.c | 66 if (crgetuid(cred) != tp->tn_uid) { in tmp_taccess() 89 uid_t uid = crgetuid(cr); in tmp_sticky_remove_access()
|
H A D | tmp_tnode.c | 180 t->tn_uid = crgetuid(cred); in tmpnode_init()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | procset.c | 336 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 D | core.c | 270 vattr.va_uid != crgetuid(credp))) { in create_core_file() 363 (uid = crgetuid(credp)) != crgetruid(credp) || in do_core() 491 (void) sprintf((s = buf), "%u", crgetuid(p->p_cred)); in expand_string()
|
H A D | contract.c | 308 ct->ct_cuid = crgetuid(CRED()); in contract_ctor() 1043 fail = crgetuid(cr) != crgetuid(p->p_cred); in contract_checkcred() 1070 euid = crgetuid(cr); in contract_owned() 1084 (crgetuid(kcred) == euid); in contract_owned()
|
H A D | ipc.c | 478 uid_t uid = crgetuid(cr); in ipcperm_access() 1030 perm->ipc_cuid = perm->ipc_uid = crgetuid(cr); in ipc_get()
|
/illumos-gate/usr/src/lib/libfakekernel/common/sys/ |
H A D | cred.h | 74 extern uid_t crgetuid(const cred_t *);
|
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/ |
H A D | fake_policy.c | 86 if (owner == crgetuid(cred)) in secpolicy_vnode_setdac()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dsl_deleg.c | 135 (longlong_t)crgetuid(cr)); in dsl_deleg_can_unallow() 437 id = crgetuid(cr); in dsl_check_user_access() 518 id = crgetuid(cr); in dsl_load_user_sets() 719 uint64_t uid = crgetuid(cr); in dsl_deleg_set_create_perms()
|
H A D | zfs_fuid.c | 505 id = (type == ZFS_OWNER) ? crgetuid(cr) : crgetgid(cr); in zfs_fuid_create_cred() 701 uid == crgetuid(cr)) in zfs_user_in_cred()
|
/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | cred.c | 74 crgetuid(const cred_t *cr) in crgetuid() function
|
H A D | mapfile-vers | 58 crgetuid;
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit_kernel.h | 389 (au_write((u), au_to_subject(crgetuid(c), \ 403 (au_write((u), au_to_process(crgetuid(c), \
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_auth.c | 400 varg.arg_u.arg.areq.req_clnt_uid = crgetuid(clnt_cred); in nfsauth_retrieve() 825 if (crgetuid(a1->auth_clnt_cred) < crgetuid(a2->auth_clnt_cred)) in nfsauth_cache_compar() 827 if (crgetuid(a1->auth_clnt_cred) > crgetuid(a2->auth_clnt_cred)) in nfsauth_cache_compar() 1276 if (crgetuid(cr) == 0) { in nfsauth_access() 1283 *uid = crgetuid(cr); in nfsauth_access()
|
H A D | nfs_server.c | 2133 if (!stat || (crgetuid(cr) == 0 && in checkauth() 2138 } else if (crgetuid(cr) == 0 && access & NFSAUTH_ROOT) { in checkauth() 2159 } else if (crgetuid(cr) != uid || crgetgid(cr) != gid) { in checkauth() 2212 if (crgetuid(cr) == 0 && secp->s_rootid == 0) in checkauth() 2236 if (crgetuid(cr) != 0 && in checkauth() 2237 (crgetuid(cr) != UID_NOBODY || crgetgid(cr) != GID_NOBODY)) in checkauth() 2372 if (crgetuid(cr) == 0 && !(access & NFSAUTH_UIDMAP)) { in checkauth4() 2376 } else if (crgetuid(cr) == 0 && access & NFSAUTH_ROOT) { in checkauth4() 2397 } else if (crgetuid(cr) != uid || crgetgid(cr) != gid) { in checkauth4() 2449 if (crgetuid(cr) == 0 && secp->s_rootid == 0) in checkauth4() [all …]
|
H A D | nfs4_acache.c | 54 return ((((intptr_t)rp >> ACACHE4_SHIFT_BITS) + crgetuid(cred)) & in acache4hash()
|
/illumos-gate/usr/src/uts/common/rpc/sec_gss/ |
H A D | rpcsec_gss.c | 275 uid_t uid = crgetuid(cr); in rpc_gss_secget() 626 crgetuid(cr)); 637 desired_mech_type, crgetuid(cr), 819 crgetuid(cr), 841 desired_mech_type, crgetuid(cr), 1256 crgetuid(CRED()));
|
H A D | svc_rpcsec_gss.c | 635 crgetuid(CRED())); in do_callback() 674 &gidlen, crgetuid(CRED()))) in rpc_gss_getcred() 693 &gidlen, crgetuid(CRED()))) in rpc_gss_getcred() 846 crgetuid(CRED())); in do_gss_accept() 904 crgetuid(CRED()), in do_gss_accept() 1811 crgetuid(CRED())); in destroy_client()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | cred.h | 89 extern uid_t crgetuid(const cred_t *);
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_fsinfo.c | 418 uid = crgetuid(sr->uid_user->u_cred); in smb_fssize()
|