Home
last modified time | relevance | path

Searched refs:credp (Results 1 – 25 of 289) sorted by path

12345678910>>...12

/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssd_clnt_stubs.c2550 static int gssd_open(dev_t *devp, int flag, int otyp, cred_t *credp) in gssd_open() argument
2560 static int gssd_close(dev_t dev, int flag, int otyp, cred_t *credp) in gssd_close() argument
2567 static int gssd_write(dev_t dev, struct uio *uiop, cred_t *credp) in gssd_write() argument
/illumos-gate/usr/src/cmd/keyserv/
H A Dchkey_common.c578 ns_cred_t *credp; in update_ldap_attr() local
630 credp->hostcertpath = *certpath; in update_ldap_attr()
667 credp->auth.type = authp->type; in update_ldap_attr()
668 credp->auth.tlstype = authp->tlstype; in update_ldap_attr()
670 credp->auth.saslopt = authp->saslopt; in update_ldap_attr()
675 credp, 0, &errorp); in update_ldap_attr()
679 credp, 0, &errorp); in update_ldap_attr()
682 if (credp != NULL) in update_ldap_attr()
683 (void) __ns_ldap_freeCred(&credp); in update_ldap_attr()
700 if (credp != NULL) { in update_ldap_attr()
[all …]
/illumos-gate/usr/src/cmd/ldap/common/
H A Dcommon.c1927 get_rebind_credentials( LDAP *ld, char **whop, char **credp, argument
1932 *credp = passwd;
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr.c1595 ns_cred_t *credp = NULL; local
1657 if (credp->hostcertpath == NULL)
1669 if (credp->hostcertpath != NULL)
1670 free(credp->hostcertpath);
1705 credp->auth.type = authp->type;
1706 credp->auth.tlstype = authp->tlstype;
1707 credp->auth.saslmech = authp->saslmech;
1708 credp->auth.saslopt = authp->saslopt;
1731 credp, 0, &error);
1775 if (credp != NULL)
[all …]
/illumos-gate/usr/src/lib/libproc/common/
H A Dproc_get_info.c55 proc_get_cred(pid_t pid, prcred_t *credp, int ngroups) in proc_get_cred() argument
60 ssize_t minsize = sizeof (*credp) - sizeof (gid_t); in proc_get_cred()
66 if (read(fd, credp, size) >= minsize) in proc_get_cred()
H A Dproc_set.c37 Psetcred(struct ps_prochandle *Pr, const prcred_t *credp) in Psetcred() argument
46 if (Pr == NULL || credp == NULL) in Psetcred()
49 ngrp = credp->pr_ngroups; in Psetcred()
54 (void) memcpy(&ctlp->cred, credp, ctlsize); in Psetcred()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_common.c262 __ns_ldap_freeUnixCred(UnixCred_t ** credp) in __ns_ldap_freeUnixCred() argument
269 if (credp == NULL || *credp == NULL) in __ns_ldap_freeUnixCred()
272 ap = *credp; in __ns_ldap_freeUnixCred()
284 *credp = NULL; in __ns_ldap_freeUnixCred()
297 __ns_ldap_freeCred(ns_cred_t ** credp) in __ns_ldap_freeCred() argument
304 if (credp == NULL || *credp == NULL) in __ns_ldap_freeCred()
307 ap = *credp; in __ns_ldap_freeCred()
333 *credp = NULL; in __ns_ldap_freeCred()
H A Dns_connect.c72 extern int __ns_ldap_freeUnixCred(UnixCred_t **credp);
H A Dns_sldap.h845 ns_cred_t **credp);
/illumos-gate/usr/src/lib/pam_modules/ldap/
H A Dldap_acct_mgmt.c254 ns_cred_t *credp = NULL; in pam_sm_acct_mgmt() local
298 result = authenticate(&credp, user, in pam_sm_acct_mgmt()
343 if (credp != NULL) in pam_sm_acct_mgmt()
344 (void) __ns_ldap_freeCred(&credp); in pam_sm_acct_mgmt()
H A Dldap_authenticate.c58 ns_cred_t *credp = NULL; in pam_sm_authenticate() local
108 result = authenticate(&credp, user, password, NULL); in pam_sm_authenticate()
131 if (credp != NULL) in pam_sm_authenticate()
132 (void) __ns_ldap_freeCred(&credp); in pam_sm_authenticate()
H A Dldap_utils.c96 ns_cred_t *credp; in authenticate() local
112 credp->cred.unix_cred.passwd = strdup(pwd); in authenticate()
114 (credp->cred.unix_cred.passwd == NULL)) { in authenticate()
125 credp->hostcertpath = *certpath; in authenticate()
164 credp->auth.type = authp->type; in authenticate()
165 credp->auth.tlstype = authp->tlstype; in authenticate()
166 credp->auth.saslmech = authp->saslmech; in authenticate()
167 credp->auth.saslopt = authp->saslopt; in authenticate()
263 if (credp && (result == PAM_SUCCESS || in authenticate()
266 *credpp = credp; in authenticate()
[all …]
/illumos-gate/usr/src/lib/passwdutil/
H A Dldap_attr.c993 ns_cred_t *credp; in ldap_replaceattr() local
1006 credp->cred.unix_cred.userID = strdup(binddn); in ldap_replaceattr()
1007 credp->cred.unix_cred.passwd = strdup(pwd); in ldap_replaceattr()
1017 credp->hostcertpath = *certpath; in ldap_replaceattr()
1058 credp->auth.type = authp->type; in ldap_replaceattr()
1059 credp->auth.tlstype = authp->tlstype; in ldap_replaceattr()
1060 credp->auth.saslmech = authp->saslmech; in ldap_replaceattr()
1061 credp->auth.saslopt = authp->saslopt; in ldap_replaceattr()
1065 credp, flags, &errorp); in ldap_replaceattr()
1119 if (credp) in ldap_replaceattr()
[all …]
/illumos-gate/usr/src/lib/print/libprint/common/
H A Dnss_ldap.c173 static int _manageReferralCredentials(LDAP *ld, char **dn, char **credp,
2416 static int _manageReferralCredentials(LDAP *ld, char **dn, char **credp, in _manageReferralCredentials() argument
2435 if ((credp != NULL) && (*credp != NULL)) in _manageReferralCredentials()
2437 free(*credp); in _manageReferralCredentials()
2443 (dn != NULL) && (credp != NULL) && (methodp != NULL)) in _manageReferralCredentials()
2450 *credp = strdup(sPasswd); in _manageReferralCredentials()
2459 sPasswd = *credp; in _manageReferralCredentials()
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_vfs.c537 struct cred *credp; in fake_domount() local
548 credp = CRED(); in fake_domount()
710 error = VFS_MOUNT(vfsp, vp, uap, credp); in fake_domount()
/illumos-gate/usr/src/lib/varpd/libvarpd/common/
H A Dlibvarpd_door.c49 ucred_t *credp) in libvarpd_door_f_create() argument
67 ucred_t *credp) in libvarpd_door_f_activate() argument
81 ucred_t *credp) in libvarpd_door_f_destroy() argument
96 ucred_t *credp) in libvarpd_door_f_nprops() argument
111 ucred_t *credp) in libvarpd_door_f_propinfo() argument
171 ucred_t *credp) in libvarpd_door_f_getprop() argument
202 ucred_t *credp) in libvarpd_door_f_setprop() argument
230 ucred_t *credp) in libvarpd_door_f_lookup() argument
246 ucred_t *credp) in libvarpd_door_f_target() argument
263 ucred_t *credp) in libvarpd_door_f_flush() argument
[all …]
/illumos-gate/usr/src/uts/common/crypto/io/
H A Dcrypto.c448 crypto_open(dev_t *devp, int flag, int otyp, cred_t *credp) in crypto_open() argument
542 crypto_close(dev_t dev, int flag, int otyp, cred_t *credp) in crypto_close() argument
H A Dcryptoadm.c194 cryptoadm_open(dev_t *devp, int flag, int otyp, cred_t *credp) in cryptoadm_open() argument
212 cryptoadm_close(dev_t dev, int flag, int otyp, cred_t *credp) in cryptoadm_close() argument
/illumos-gate/usr/src/uts/common/disp/
H A Dfss.c1836 fss_canexit(kthread_t *t, cred_t *credp) in fss_canexit() argument
1842 if (credp != NULL && secpolicy_setpriority(credp) != 0) in fss_canexit()
/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf.c1216 credp, NULL)) != 0) { in getelfphdr()
1260 credp, NULL)) != 0) { in getelfshdr()
1287 credp, NULL)) != 0) { in getelfshdr()
1597 rlim64_t rlimit, cred_t *credp) in elfnote() argument
1644 cred_t *credp = ctx->ecc_credp; in elf_copy_scn() local
1689 cred_t *credp = ctx->ecc_credp; in elf_process_obj_scns() local
2095 .ecc_credp = credp, in elfcore()
2380 credp)) != 0) { in elfcore()
2384 credp, content)) != 0) { in elfcore()
2425 rlimit, credp); in elfcore()
[all …]
H A Delf_notes.c279 platform, rlimit, credp); in write_elfnotes()
324 (caddr_t)&content, rlimit, credp); in write_elfnotes()
337 (caddr_t)prii, rlimit, credp); in write_elfnotes()
345 rlimit, credp); in write_elfnotes()
397 sizeof (fdinfo.pr_path), credp); in write_elfnotes()
459 (caddr_t)ssd, rlimit, credp); in write_elfnotes()
501 rlimit, credp); in write_elfnotes()
534 rlimit, credp); in write_elfnotes()
557 rlimit, credp); in write_elfnotes()
569 rlimit, credp); in write_elfnotes()
[all …]
H A Dold_notes.c87 rlim64_t rlimit, cred_t *credp) in write_old_elfnotes() argument
116 (caddr_t)&bigwad->psinfo, rlimit, credp); in write_old_elfnotes()
121 platform, rlimit, credp); in write_old_elfnotes()
131 (caddr_t)bigwad->auxv, rlimit, credp); in write_old_elfnotes()
171 rlimit, credp); in write_old_elfnotes()
179 rlimit, credp); in write_old_elfnotes()
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_dev.c104 static int nsmb_open(dev_t *devp, int flag, int otyp, cred_t *credp);
105 static int nsmb_close(dev_t dev, int flag, int otyp, cred_t *credp);
107 cred_t *credp, int *rvalp);
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_init.c314 smb_drv_close(dev_t dev, int flag, int otyp, cred_t *credp) in smb_drv_close() argument
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dufs_extvnops.c66 cred_t *credp) in ufs_rdwr_data() argument
238 cred_t *credp) in ufs_alloc_data() argument
322 BI_ALLOC_ONLY, NULL, credp); in ufs_alloc_data()
456 BI_ALLOC_ONLY, NULL, credp); in ufs_alloc_data()
479 (void) ufs_itrunc(ip, old_i_size, 0, credp); in ufs_alloc_data()
502 (void) VOP_PUTPAGE(vnodep, 0, 0, B_INVAL, credp, NULL); in ufs_alloc_data()

12345678910>>...12