Searched defs:credp (Results 1 - 25 of 271) sorted by relevance

1234567891011

/illumos-gate/usr/src/lib/pam_modules/ldap/
H A Dldap_authenticate.c60 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 Dldap_utils.c98 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 Dldap_acct_mgmt.c256 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 Dproc_set.c39 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 Dproc_get_info.c51 * 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 Dip_dummy.c44 int sflag, cred_t *credp);
78 dummy_modopen(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp) argument
H A Dip_helper_stream.c104 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 Ddrm_fops.c49 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 Ddrm_drv.c431 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 Denx_ctl.c41 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 Dpx_devctl.c48 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 Dold_notes.c104 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 Dncaddi.c56 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 Dhci1394_misc.c96 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 Dhci1394_ioctl.c87 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 Ddld_flow.c101 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 Duadmin.c129 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 Dpv_sd.c69 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 Dpci_devctl.c48 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 Dufs_extvnops.c68 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 Ddlpistub.c132 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 Dsnmpcom.c168 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 Dbl.c107 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 Drdssubr.c179 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 Dsdpddi.c119 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

Completed in 89 milliseconds

1234567891011