Searched refs:crsetugid (Results 1 – 10 of 10) sorted by relevance
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | sec_svc.c | 162 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 D | svcauthdes.c | 483 if (crsetugid(cr, cred->uid, cred->gid) != 0 || in kauthdes_getucred()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_server.c | 2127 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 D | nfs4_client_secinfo.c | 1057 (void) crsetugid(lcr, svp->sv_secdata->uid, in nfs4_secinfo_recov()
|
H A D | nfs_vfsops.c | 1268 (void) crsetugid(lcr, svp->sv_secdata->uid, crgetgid(cr)); in nfsrootvp()
|
H A D | nfs3_vfsops.c | 1163 (void) crsetugid(lcr, svp->sv_secdata->uid, crgetgid(cr)); in nfs3rootvp()
|
H A D | nfs4_vfsops.c | 2462 (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 D | smb_cred.c | 90 if (crsetugid(cr, token->tkn_user.i_id, gid) != 0) { in smb_cred_create()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | cred.h | 122 extern int crsetugid(cred_t *, uid_t, gid_t);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | cred.c | 133 (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
|