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

1234567891011

/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/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/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/common/inet/ip/
H A Dip_dummy.c43 int sflag, cred_t *credp);
77 dummy_modclose(queue_t *q, int flags __unused, cred_t *credp __unused)
85 dummy_modopen(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp) argument
H A Dip_helper_stream.c105 cred_t *credp, boolean_t isv6)
159 ip_helper_stream_close(queue_t *q, int flag __unused, cred_t *credp __unused)
104 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/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/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/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/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)
414 cred_t *credp = CRED(); local
460 error = zone_kadmin(cmd, fcn, bootargs, credp);
462 error = kadmin(cmd, fcn, bootargs, credp);
/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) {
85 nca_close(queue_t *q, int flags __unused, cred_t *credp __unused)
/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/ntxn/
H A Dunm_ndd.c144 unm_param_get(queue_t *q, mblk_t *mp, caddr_t cp, cred_t *credp) argument
162 unm_param_set(queue_t *q, mblk_t *mp, char *value, caddr_t cp, cred_t *credp) argument
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_ndd.c146 rge_param_get(queue_t *q, mblk_t *mp, caddr_t cp, cred_t *credp) argument
150 _NOTE(ARGUNUSED(q, credp))
165 rge_param_set(queue_t *q, mblk_t *mp, char *value, caddr_t cp, cred_t *credp) argument
170 _NOTE(ARGUNUSED(q, mp, credp))
/illumos-gate/usr/src/uts/common/io/usb/hubd/
H A Dhubd.c41 static int hubd_open(dev_t *devp, int flags, int otyp, cred_t *credp);
42 static int hubd_close(dev_t dev, int flag, int otyp, cred_t *credp);
44 cred_t *credp, int *rvalp);
182 hubd_open(dev_t *devp, int flags, int otyp, cred_t *credp) argument
186 return (usba_hubdi_open(dip, devp, flags, otyp, credp));
191 hubd_close(dev_t dev, int flag, int otyp, cred_t *credp) argument
195 return (usba_hubdi_close(dip, dev, flag, otyp, credp));
201 cred_t *credp, int *rvalp)
206 credp, rvalp));
200 hubd_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
/illumos-gate/usr/src/uts/sun4/io/
H A Dtod.c269 tod_open(dev_t *devp, int flag, int otyp, cred_t *credp) argument
279 tod_close(dev_t dev, int flag, int otyp, cred_t *credp) argument
289 tod_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
/illumos-gate/usr/src/uts/sun4u/excalibur/io/
H A Dxcalwd.c79 static int xcalwd_open(dev_t *devp, int flag, int otyp, cred_t *credp);
80 static int xcalwd_close(dev_t dev, int flag, int otyp, cred_t *credp);
82 cred_t *credp, int *rvalp);
331 xcalwd_open(dev_t *devp, int flag, int otyp, cred_t *credp) argument
335 if (secpolicy_sys_config(credp, B_FALSE) != 0)
354 xcalwd_close(dev_t dev, int flag, int otyp, cred_t *credp) argument

Completed in 161 milliseconds

1234567891011