Home
last modified time | relevance | path

Searched refs:credanon (Results 1 – 4 of 4) sorted by relevance

/freebsd-10-stable/sys/nfsserver/
Dnfs_srvsubs.c1034 struct ucred *cred, *credanon; in nfsrv_fhtovp() local
1056 error = VFS_CHECKEXP(mp, nam, &exflags, &credanon, in nfsrv_fhtovp()
1125 cred->cr_uid = credanon->cr_uid; in nfsrv_fhtovp()
1126 crsetgroups(cred, credanon->cr_ngroups, credanon->cr_groups); in nfsrv_fhtovp()
1136 if (credanon != NULL) in nfsrv_fhtovp()
1137 crfree(credanon); in nfsrv_fhtovp()
/freebsd-10-stable/sys/fs/nfsserver/
Dnfs_nfsdport.c2621 struct ucred *credanon) in nfsd_excred() argument
2665 nd->nd_cred->cr_uid = credanon->cr_uid; in nfsd_excred()
2666 nd->nd_cred->cr_gid = credanon->cr_gid; in nfsd_excred()
2667 crsetgroups(nd->nd_cred, credanon->cr_ngroups, in nfsd_excred()
2668 credanon->cr_groups); in nfsd_excred()
2764 struct ucred *credanon; in nfsd_fhtovp() local
2786 &credanon); in nfsd_fhtovp()
2836 nd->nd_repstat = nfsd_excred(nd, exp, credanon); in nfsd_fhtovp()
2840 if (credanon != NULL) in nfsd_fhtovp()
2841 crfree(credanon); in nfsd_fhtovp()
[all …]
Dnfs_nfsdsocket.c558 struct ucred *credanon; in nfsrvd_compound() local
917 nd->nd_nam, &nes, &credanon); in nfsrvd_compound()
920 &nes, credanon); in nfsrvd_compound()
921 if (credanon != NULL) in nfsrvd_compound()
922 crfree(credanon); in nfsrvd_compound()
/freebsd-10-stable/sys/nlm/
Dnlm_prot_impl.c1755 struct ucred *cred = NULL, *credanon = NULL; in nlm_get_vfs_state() local
1767 (struct sockaddr *)&host->nh_addr, &exflags, &credanon, in nlm_get_vfs_state()
1791 cred = credanon; in nlm_get_vfs_state()
1792 credanon = NULL; in nlm_get_vfs_state()
1820 if (credanon) in nlm_get_vfs_state()
1821 crfree(credanon); in nlm_get_vfs_state()