Home
last modified time | relevance | path

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

1234

/illumos-gate/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()
/illumos-gate/usr/src/uts/common/fs/tmpfs/
H A Dtmp_subr.c66 if (crgetuid(cred) != tp->tn_uid) { in tmp_taccess()
89 uid_t uid = crgetuid(cr); in tmp_sticky_remove_access()
H A Dtmp_tnode.c180 t->tn_uid = crgetuid(cred); in tmpnode_init()
/illumos-gate/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.c270 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 Dcontract.c308 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 Dipc.c478 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 Dcred.h74 extern uid_t crgetuid(const cred_t *);
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfake_policy.c86 if (owner == crgetuid(cred)) in secpolicy_vnode_setdac()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddsl_deleg.c135 (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 Dzfs_fuid.c505 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 Dcred.c74 crgetuid(const cred_t *cr) in crgetuid() function
H A Dmapfile-vers58 crgetuid;
/illumos-gate/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), \
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_auth.c400 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 Dnfs_server.c2133 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 Dnfs4_acache.c54 return ((((intptr_t)rp >> ACACHE4_SHIFT_BITS) + crgetuid(cred)) & in acache4hash()
/illumos-gate/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss.c275 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 Dsvc_rpcsec_gss.c635 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 Dcred.h89 extern uid_t crgetuid(const cred_t *);
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_fsinfo.c418 uid = crgetuid(sr->uid_user->u_cred); in smb_fssize()

1234