Home
last modified time | relevance | path

Searched refs:credp (Results 1 – 13 of 13) sorted by relevance

/netbsd-src/sys/miscfs/umapfs/
H A Dumap_subr.c134 umap_mapids(struct mount *v_mount, kauth_cred_t credp) in umap_mapids() argument
143 if (credp == NOCRED || credp == FSCRED) in umap_mapids()
153 uid = (uid_t) umap_findid(kauth_cred_geteuid(credp), usermap, unentries); in umap_mapids()
156 kauth_cred_seteuid(credp, uid); in umap_mapids()
158 kauth_cred_seteuid(credp, (uid_t)NOBODY); in umap_mapids()
165 gid = (gid_t) umap_findid(kauth_cred_getegid(credp), groupmap, gnentries); in umap_mapids()
168 kauth_cred_setegid(credp, gid); in umap_mapids()
170 kauth_cred_setegid(credp, NULLGROUP); in umap_mapids()
176 ngroups = kauth_cred_ngroups(credp); in umap_mapids()
179 groups[i] = kauth_cred_group(credp, i); in umap_mapids()
[all …]
H A Dumap_vnops.c121 kauth_cred_t *credpp = NULL, credp = 0; in umap_bypass() local
199 credp = *credpp; in umap_bypass()
202 kauth_cred_geteuid(credp) != 0) in umap_bypass()
204 kauth_cred_geteuid(credp), kauth_cred_getegid(credp)); in umap_bypass()
208 umap_mapids(vp0->v_mount, credp); in umap_bypass()
211 kauth_cred_geteuid(credp) != 0) in umap_bypass()
213 kauth_cred_geteuid(credp), kauth_cred_getegid(credp)); in umap_bypass()
292 if ((flags & LAYERFS_MBYPASSDEBUG) && credp && in umap_bypass()
293 kauth_cred_geteuid(credp) != 0) in umap_bypass()
295 kauth_cred_geteuid(credp)); in umap_bypass()
[all …]
H A Dumap.h88 void umap_mapids(struct mount *v_mount, kauth_cred_t credp);
/netbsd-src/crypto/external/bsd/heimdal/dist/kcm/
H A Dacquire.c45 krb5_creds **credp) in kcm_ccache_acquire() argument
55 *credp = NULL; in kcm_ccache_acquire()
133 ret = kcm_ccache_store_cred_internal(context, ccache, &cred, 0, credp); in kcm_ccache_acquire()
H A Devents.c327 krb5_creds *credp = NULL; in kcm_fire_event() local
334 ret = kcm_ccache_acquire(context, event->ccache, &credp); in kcm_fire_event()
338 ret = kcm_ccache_refresh(context, event->ccache, &credp); in kcm_fire_event()
340 ret = kcm_ccache_acquire(context, event->ccache, &credp); in kcm_fire_event()
385 ret = kcm_ccache_make_default_event(context, event, credp); in kcm_fire_event()
H A Dcache.c542 krb5_creds **credp) in kcm_ccache_store_cred_internal() argument
556 *credp = &(*c)->cred; in kcm_ccache_store_cred_internal()
559 ret = krb5_copy_creds_contents(context, creds, *credp); in kcm_ccache_store_cred_internal()
565 **credp = *creds; in kcm_ccache_store_cred_internal()
651 krb5_creds **credp) in kcm_ccache_retrieve_cred() argument
659 whichfields, mcreds, credp); in kcm_ccache_retrieve_cred()
H A Dglue.c141 krb5_creds *credp; in kcmss_retrieve() local
146 mcred, &credp); in kcmss_retrieve()
150 ret = krb5_copy_creds_contents(context, credp, creds); in kcmss_retrieve()
H A Drenew.c42 krb5_creds **credp) in kcm_ccache_refresh() argument
118 ret = kcm_ccache_store_cred_internal(context, ccache, out, 0, credp); in kcm_ccache_refresh()
H A Dprotocol.c317 krb5_creds *credp; in kcm_op_retrieve() local
356 &mcreds, &credp); in kcm_op_retrieve()
368 ret = krb5_get_credentials(context, 0, &ccdata, &mcreds, &credp); in kcm_op_retrieve()
376 ret = krb5_store_creds(response, credp); in kcm_op_retrieve()
384 krb5_free_cred_contents(context, credp); in kcm_op_retrieve()
/netbsd-src/sys/fs/nfs/server/
H A Dnfs_nfsdport.c2704 struct ucred **credp) in nfsvno_checkexp() argument
2708 error = VFS_CHECKEXP(mp, nam, &exp->nes_exflag, credp, in nfsvno_checkexp()
2731 struct ucred **credp) in nfsvno_fhtovp() argument
2735 *credp = NULL; in nfsvno_fhtovp()
2742 error = VFS_CHECKEXP(mp, nam, &exp->nes_exflag, credp, in nfsvno_fhtovp()
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/krb5/
H A Dinit_creds_pw.c1854 krb5_creds cred, *credp = NULL; in _krb5_make_fast_ap_fxarmor() local
1880 ret = krb5_get_credentials(context, 0, armor_ccache, &cred, &credp); in _krb5_make_fast_ap_fxarmor()
1894 credp, in _krb5_make_fast_ap_fxarmor()
1896 krb5_free_creds(context, credp); in _krb5_make_fast_ap_fxarmor()
/netbsd-src/external/bsd/ntp/dist/libparse/
H A Dparsesolaris.c325 cred_t *credp in parseopen() argument
/netbsd-src/external/bsd/openldap/dist/doc/guide/admin/
H A Daspell.en.pws1309 credp