/illumos-gate/usr/src/cmd/gss/gssd/ |
H A D | gssd_clnt_stubs.c | 2550 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 D | chkey_common.c | 578 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 D | common.c | 1927 get_rebind_credentials( LDAP *ld, char **whop, char **credp, argument 1932 *credp = passwd;
|
/illumos-gate/usr/src/cmd/ldapcachemgr/ |
H A D | cachemgr.c | 1595 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 D | proc_get_info.c | 55 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 D | proc_set.c | 37 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 D | ns_common.c | 262 __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 D | ns_connect.c | 72 extern int __ns_ldap_freeUnixCred(UnixCred_t **credp);
|
H A D | ns_sldap.h | 845 ns_cred_t **credp);
|
/illumos-gate/usr/src/lib/pam_modules/ldap/ |
H A D | ldap_acct_mgmt.c | 254 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 D | ldap_authenticate.c | 58 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 D | ldap_utils.c | 96 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 D | ldap_attr.c | 993 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 D | nss_ldap.c | 173 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 D | fake_vfs.c | 537 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 D | libvarpd_door.c | 49 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 D | crypto.c | 448 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 D | cryptoadm.c | 194 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 D | fss.c | 1836 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 D | elf.c | 1216 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 D | elf_notes.c | 279 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 D | old_notes.c | 87 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 D | smb_dev.c | 104 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 D | smb_init.c | 314 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 D | ufs_extvnops.c | 66 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()
|