/illumos-gate/usr/src/lib/pam_modules/ldap/ |
H A D | ldap_authenticate.c | 60 ns_cred_t *credp = NULL; local 110 result = authenticate(&credp, user, password, NULL); 133 if (credp != NULL) 134 (void) __ns_ldap_freeCred(&credp);
|
H A D | ldap_utils.c | 98 ns_cred_t *credp; local 101 if ((credp = (ns_cred_t *)calloc(1, sizeof (ns_cred_t))) == NULL) 113 credp->cred.unix_cred.userID = strdup(binddn); 114 credp->cred.unix_cred.passwd = strdup(pwd); 115 if ((credp->cred.unix_cred.userID == NULL) || 116 (credp->cred.unix_cred.passwd == NULL)) { 127 credp->hostcertpath = *certpath; 166 credp->auth.type = authp->type; 167 credp->auth.tlstype = authp->tlstype; 168 credp [all...] |
H A D | ldap_acct_mgmt.c | 256 ns_cred_t *credp = NULL; local 300 result = authenticate(&credp, user, 345 if (credp != NULL) 346 (void) __ns_ldap_freeCred(&credp);
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | proc_set.c | 39 Psetcred(struct ps_prochandle *Pr, const prcred_t *credp) argument 48 if (Pr == NULL || credp == NULL) 51 ngrp = credp->pr_ngroups; 56 (void) memcpy(&ctlp->cred, credp, ctlsize);
|
H A D | proc_get_info.c | 51 * credp = malloc(sizeof (prcred_t) + (ngroups - 1) * sizeof (gid_t)); 54 proc_get_cred(pid_t pid, prcred_t *credp, int ngroups) argument 59 ssize_t minsize = sizeof (*credp) - sizeof (gid_t); 65 if (read(fd, credp, size) >= minsize)
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_dummy.c | 44 int sflag, cred_t *credp); 78 dummy_modopen(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp) argument
|
H A D | ip_helper_stream.c | 104 cred_t *credp, boolean_t isv6) 103 ip_helper_stream_setup(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp, boolean_t isv6) argument
|
/illumos-gate/usr/src/uts/common/io/drm/ |
H A D | drm_fops.c | 49 drm_find_file_by_proc(drm_device_t *dev, cred_t *credp) argument 77 int otyp, cred_t *credp) 91 priv = drm_find_file_by_proc(dev, credp); 102 priv->uid = crgetsuid(credp); 110 priv->authenticated = DRM_SUSER(credp); 76 drm_open_helper(drm_device_t *dev, drm_cminor_t *mp, int flags, int otyp, cred_t *credp) argument
|
H A D | drm_drv.c | 431 int otyp, cred_t *credp) 435 retcode = drm_open_helper(dev, mp, openflags, otyp, credp); 451 cred_t *credp) 430 drm_open(drm_device_t *dev, drm_cminor_t *mp, int openflags, int otyp, cred_t *credp) argument 450 drm_close(drm_device_t *dev, int minor, int flag, int otyp, cred_t *credp) argument
|
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | enx_ctl.c | 41 eibnx_devctl_open(dev_t *devp, int flags, int otyp, cred_t *credp) argument 48 eibnx_devctl_close(dev_t dev, int flags, int otyp, cred_t *credp) argument
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_devctl.c | 48 static int px_open(dev_t *devp, int flags, int otyp, cred_t *credp); 49 static int px_close(dev_t dev, int flags, int otyp, cred_t *credp); 51 cred_t *credp, int *rvalp); 76 px_open(dev_t *devp, int flags, int otyp, cred_t *credp) argument 107 if (rval = pcie_open(px_p->px_dip, devp, flags, otyp, credp)) { 136 px_close(dev_t dev, int flags, int otyp, cred_t *credp) argument 157 if (rval = pcie_close(px_p->px_dip, dev, flags, otyp, credp)) { 170 px_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument 200 if (secpolicy_kmdb(credp)) 211 if (secpolicy_kmdb(credp)) [all...] |
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | old_notes.c | 104 rlim64_t rlimit, cred_t *credp) 138 (caddr_t)&bigwad->psinfo, rlimit, credp); 143 platform, rlimit, credp); 153 (caddr_t)bigwad->auxv, rlimit, credp); 193 rlimit, credp); 201 rlimit, credp); 220 rlimit, credp); 230 xregsize, bigwad->xregs, rlimit, credp); 103 write_old_elfnotes(proc_t *p, int sig, vnode_t *vp, offset_t offset, rlim64_t rlimit, cred_t *credp) argument
|
/illumos-gate/usr/src/uts/common/inet/nca/ |
H A D | ncaddi.c | 56 nca_open(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp) argument 66 if (credp != NULL && crgetzoneid(credp) != GLOBAL_ZONEID) {
|
/illumos-gate/usr/src/uts/common/io/1394/adapters/ |
H A D | hci1394_misc.c | 96 hci1394_open(dev_t *devp, int flag, int otyp, cred_t *credp) argument 118 hci1394_close(dev_t dev, int flag, int otyp, cred_t *credp) argument
|
H A D | hci1394_ioctl.c | 87 hci1394_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument 160 arg, mode, credp, rvalp);
|
/illumos-gate/usr/src/uts/common/io/dld/ |
H A D | dld_flow.c | 101 dld_walk_flow(dld_ioc_walkflow_t *wf, intptr_t uaddr, cred_t *credp) argument 108 if (crgetzoneid(credp) != GLOBAL_ZONEID)
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | uadmin.c | 129 kadmin(int cmd, int fcn, void *mdep, cred_t *credp) argument 154 if (secpolicy_sys_config(credp, B_FALSE) != 0) 415 cred_t *credp = CRED(); local 461 error = zone_kadmin(cmd, fcn, bootargs, credp); 463 error = kadmin(cmd, fcn, bootargs, credp);
|
/illumos-gate/usr/src/uts/i86pc/i86hvm/io/ |
H A D | pv_sd.c | 69 int cmd, intptr_t arg, int flag, cred_t *credp, int *rvalp, boolean_t *done) 82 cmd, (intptr_t)&info, FKIOCTL, credp, rvalp)) != 0) 68 xdfs_c_ioctl(xdfs_state_t *xsp, dev_t dev, int part, int cmd, intptr_t arg, int flag, cred_t *credp, int *rvalp, boolean_t *done) argument
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_devctl.c | 48 static int pci_open(dev_t *devp, int flags, int otyp, cred_t *credp); 49 static int pci_close(dev_t dev, int flags, int otyp, cred_t *credp); 51 cred_t *credp, int *rvalp); 53 cred_t *credp, int *rvalp); 82 pci_open(dev_t *devp, int flags, int otyp, cred_t *credp) argument 124 if (rval = pcihp_ops->cb_open(devp, flags, otyp, credp)) { 139 pci_close(dev_t dev, int flags, int otyp, cred_t *credp) argument 155 if (rval = pcihp_ops->cb_close(dev, flags, otyp, credp)) { 168 cred_t *credp, int *rvalp) 235 pci_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, in argument 167 pci_devctl_ioctl(dev_info_t *dip, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | ufs_extvnops.c | 68 cred_t *credp) 240 cred_t *credp) 324 BI_ALLOC_ONLY, NULL, credp); 458 BI_ALLOC_ONLY, NULL, credp); 481 (void) ufs_itrunc(ip, old_i_size, 0, credp); 504 (void) VOP_PUTPAGE(vnodep, 0, 0, B_INVAL, credp, NULL); 62 ufs_rdwr_data( vnode_t *vnodep, u_offset_t offset, size_t len, fdbuffer_t *fdbp, int flags, cred_t *credp) argument 234 ufs_alloc_data( vnode_t *vnodep, u_offset_t offset, size_t *len, fdbuffer_t *fdbp, int flags, cred_t *credp) argument
|
/illumos-gate/usr/src/uts/common/inet/dlpistub/ |
H A D | dlpistub.c | 132 ds_open(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp) argument 167 ds_close(queue_t *q, int flag, cred_t *credp) argument
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | snmpcom.c | 168 snmpcom_req(queue_t *q, mblk_t *mp, pfi_t setfn, pfi_t getfn, cred_t *credp) argument 207 if (secpolicy_ip_config(credp, B_FALSE) != 0) {
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | bl.c | 107 bl_open(dev_t *devp, int flag, int otyp, struct cred *credp) argument 112 if (secpolicy_blacklist(credp) != 0)
|
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdssubr.c | 179 rds_create(void *rds_ulpd, cred_t *credp) argument 184 if (credp == NULL) 194 rds->rds_cred = credp; 197 crhold(credp);
|
/illumos-gate/usr/src/uts/common/io/ib/clients/sdp/ |
H A D | sdpddi.c | 119 sdp_gen_open(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp) argument 129 sdp_gen_close(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp) argument
|