Home
last modified time | relevance | path

Searched refs:crsetugid (Results 1 – 10 of 10) sorted by relevance

/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dsec_svc.c162 if (crsetugid(cr, aup->aup_uid, aup->aup_gid) != 0) in sec_svc_getcred()
163 (void) crsetugid(cr, UID_NOBODY, GID_NOBODY); in sec_svc_getcred()
183 if (crsetugid(cr, ucred->uid, ucred->gid) != 0 || in sec_svc_getcred()
187 (void) crsetugid(cr, UID_NOBODY, GID_NOBODY); in sec_svc_getcred()
H A Dsvcauthdes.c483 if (crsetugid(cr, cred->uid, cred->gid) != 0 || in kauthdes_getucred()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_server.c2127 anon_res = crsetugid(cr, exi->exi_export.ex_anon, in checkauth()
2135 anon_res = crsetugid(cr, exi->exi_export.ex_anon, in checkauth()
2155 (void) crsetugid(cr, secp->s_rootid, in checkauth()
2160 if (crsetugid(cr, uid, gid) != 0) in checkauth()
2161 anon_res = crsetugid(cr, in checkauth()
2216 (void) crsetugid(cr, secp->s_rootid, secp->s_rootid); in checkauth()
2240 anon_res = crsetugid(cr, exi->exi_export.ex_anon, in checkauth()
2264 if (crsetugid(cr, UID_NOBODY, GID_NOBODY) != 0) in checkauth()
2366 anon_res = crsetugid(cr, exi->exi_export.ex_anon, in checkauth4()
2373 anon_res = crsetugid(cr, exi->exi_export.ex_anon, in checkauth4()
[all …]
H A Dnfs4_client_secinfo.c1057 (void) crsetugid(lcr, svp->sv_secdata->uid, in nfs4_secinfo_recov()
H A Dnfs_vfsops.c1268 (void) crsetugid(lcr, svp->sv_secdata->uid, crgetgid(cr)); in nfsrootvp()
H A Dnfs3_vfsops.c1163 (void) crsetugid(lcr, svp->sv_secdata->uid, crgetgid(cr)); in nfs3rootvp()
H A Dnfs4_vfsops.c2462 (void) crsetugid(lcr, svp->sv_secdata->uid, crgetgid(cr)); in nfs4rootvp()
3305 (void) crsetugid(lcr, svp->sv_secdata->uid, in nfs4setclientid()
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_cred.c90 if (crsetugid(cr, token->tkn_user.i_id, gid) != 0) { in smb_cred_create()
/illumos-gate/usr/src/uts/common/sys/
H A Dcred.h122 extern int crsetugid(cred_t *, uid_t, gid_t);
/illumos-gate/usr/src/uts/common/os/
H A Dcred.c133 (void) crsetugid(eph_zsd->eph_nobody, UID_NOBODY, GID_NOBODY); in get_ephemeral_zsd()
803 crsetugid(cred_t *cr, uid_t uid, gid_t gid) in crsetugid() function