Home
last modified time | relevance | path

Searched refs:credp (Results 1 – 25 of 287) sorted by relevance

12345678910>>...12

/illumos-gate/usr/src/uts/common/io/
H A Dtem_safe.c198 cred_t *credp, in tem_safe_check_first_time() argument
376 cred_t *credp, in tem_safe_terminal_emulate() argument
465 credp, called_from); in tem_safe_control()
929 credp, called_from); in tem_safe_chkparam()
935 credp, called_from); in tem_safe_chkparam()
941 credp, called_from); in tem_safe_chkparam()
948 credp, called_from); in tem_safe_chkparam()
1347 credp, called_from); in tem_safe_lf()
1876 credp, called_from); in tem_safe_text_cls()
1912 cred_t *credp, in tem_safe_pix_copy() argument
[all …]
H A Dtem.c279 tem_init(cred_t *credp, queue_t *rq) in tem_init() argument
446 ret = tems_failed(credp, B_FALSE); in tem_info_init()
456 ret = tems_failed(credp, B_TRUE); in tem_info_init()
464 ret = tems_failed(credp, B_TRUE); in tem_info_init()
474 ret = tems_failed(credp, B_TRUE); in tem_info_init()
481 ret = tems_failed(credp, B_TRUE); in tem_info_init()
717 cred_t *credp) in tems_cls_layered() argument
733 cred_t *credp) in tems_display_layered() argument
749 cred_t *credp) in tems_copy_layered() argument
763 cred_t *credp) in tems_cursor_layered() argument
[all …]
/illumos-gate/usr/src/lib/pam_modules/ldap/
H A Dldap_utils.c98 ns_cred_t *credp; in authenticate() local
114 credp->cred.unix_cred.passwd = strdup(pwd); in authenticate()
116 (credp->cred.unix_cred.passwd == NULL)) { in authenticate()
127 credp->hostcertpath = *certpath; in authenticate()
166 credp->auth.type = authp->type; in authenticate()
167 credp->auth.tlstype = authp->tlstype; in authenticate()
168 credp->auth.saslmech = authp->saslmech; in authenticate()
169 credp->auth.saslopt = authp->saslopt; in authenticate()
265 if (credp && (result == PAM_SUCCESS || in authenticate()
268 *credpp = credp; in authenticate()
[all …]
H A Dldap_authenticate.c60 ns_cred_t *credp = NULL; in pam_sm_authenticate() local
110 result = authenticate(&credp, user, password, NULL); in pam_sm_authenticate()
133 if (credp != NULL) in pam_sm_authenticate()
134 (void) __ns_ldap_freeCred(&credp); in pam_sm_authenticate()
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_devctl.c49 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) in px_open() argument
107 if (rval = pcie_open(px_p->px_dip, devp, flags, otyp, credp)) { in px_open()
136 px_close(dev_t dev, int flags, int otyp, cred_t *credp) in px_close() argument
157 if (rval = pcie_close(px_p->px_dip, dev, flags, otyp, credp)) { in px_close()
200 if (secpolicy_kmdb(credp)) in px_ioctl()
211 if (secpolicy_kmdb(credp)) in px_ioctl()
227 if (secpolicy_kmdb(credp)) { in px_ioctl()
245 rv = pcie_ioctl(dip, dev, cmd, arg, mode, credp, rvalp); in px_ioctl()
[all …]
/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/sun4u/io/pci/
H A Dpci_devctl.c51 cred_t *credp, int *rvalp);
53 cred_t *credp, int *rvalp);
82 pci_open(dev_t *devp, int flags, int otyp, cred_t *credp) in pci_open() argument
124 if (rval = pcihp_ops->cb_open(devp, flags, otyp, credp)) { in pci_open()
139 pci_close(dev_t dev, int flags, int otyp, cred_t *credp) in pci_close() argument
168 cred_t *credp, int *rvalp) in pci_devctl_ioctl() argument
264 if (secpolicy_kmdb(credp)) in pci_ioctl()
275 if (secpolicy_kmdb(credp)) in pci_ioctl()
291 if (secpolicy_ponline(credp)) { in pci_ioctl()
315 dev, cmd, arg, mode, credp, rvalp); in pci_ioctl()
[all …]
/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) in hubd_open() argument
186 return (usba_hubdi_open(dip, devp, flags, otyp, credp)); in hubd_open()
191 hubd_close(dev_t dev, int flag, int otyp, cred_t *credp) in hubd_close() argument
195 return (usba_hubdi_close(dip, dev, flag, otyp, credp)); in hubd_close()
201 cred_t *credp, int *rvalp) in hubd_ioctl() argument
206 credp, rvalp)); in hubd_ioctl()
/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf_notes.c278 platform, rlimit, credp); in write_elfnotes()
322 (caddr_t)&content, rlimit, credp); in write_elfnotes()
335 (caddr_t)prii, rlimit, credp); in write_elfnotes()
343 rlimit, credp); in write_elfnotes()
395 sizeof (fdinfo.pr_path), credp); in write_elfnotes()
457 (caddr_t)ssd, rlimit, credp); in write_elfnotes()
499 rlimit, credp); in write_elfnotes()
532 rlimit, credp); in write_elfnotes()
555 rlimit, credp); in write_elfnotes()
567 rlimit, credp); in write_elfnotes()
[all …]
H A Dold_notes.c104 rlim64_t rlimit, cred_t *credp) in write_old_elfnotes() argument
138 (caddr_t)&bigwad->psinfo, rlimit, credp); in write_old_elfnotes()
143 platform, rlimit, credp); in write_old_elfnotes()
153 (caddr_t)bigwad->auxv, rlimit, credp); in write_old_elfnotes()
193 rlimit, credp); in write_old_elfnotes()
201 rlimit, credp); in write_old_elfnotes()
220 rlimit, credp); in write_old_elfnotes()
230 xregsize, bigwad->xregs, rlimit, credp); in write_old_elfnotes()
H A Delf.c1173 credp, &resid)) != 0) { in getelfphdr()
1224 credp, &resid)) != 0) { in getelfshdr()
1251 credp, &resid)) != 0) { in getelfshdr()
1494 rlim64_t rlimit, cred_t *credp) in elfnote() argument
1516 sizeof (note), rlimit, credp)) in elfnote()
2077 sizeof (Ehdr), rlimit, credp)) in elfcore()
2228 credp)) != 0) in elfcore()
2232 credp, content)) != 0) in elfcore()
2272 credp); in elfcore()
2285 rlimit, credp); in elfcore()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dcore.c199 cred_t *credp = CRED(); in create_core_file() local
241 rootvp, startvp, credp); in create_core_file()
272 credp, NULL); in create_core_file()
330 cred_t *credp = CRED(); in do_core() local
363 (uid = crgetuid(credp)) != crgetruid(credp) || in do_core()
364 uid != crgetsuid(credp) || in do_core()
365 (gid = crgetgid(credp)) != crgetrgid(credp) || in do_core()
391 ASSERT(credp != NULL); in do_core()
392 ocredp = set_cred(p, credp); in do_core()
433 credp = set_cred(p, ocredp); in do_core()
[all …]
/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/lib/libproc/common/
H A Dproc_set.c39 Psetcred(struct ps_prochandle *Pr, const prcred_t *credp) in Psetcred() argument
48 if (Pr == NULL || credp == NULL) in Psetcred()
51 ngrp = credp->pr_ngroups; in Psetcred()
56 (void) memcpy(&ctlp->cred, credp, ctlsize); in Psetcred()
/illumos-gate/usr/src/uts/common/io/audio/impl/
H A Daudio_ddi.c150 audio_open(dev_t *devp, int oflag, int otyp, cred_t *credp) in audio_open() argument
166 c->c_cred = credp; in audio_open()
223 c->c_cred = credp; in audio_stropen()
254 audio_strclose(queue_t *rq, int flag, cred_t *credp) in audio_strclose() argument
261 _NOTE(ARGUNUSED(credp)); in audio_strclose()
302 audio_close(dev_t dev, int flag, int otyp, cred_t *credp) in audio_close() argument
308 _NOTE(ARGUNUSED(credp)); in audio_close()
353 audio_write(dev_t dev, struct uio *uio, cred_t *credp) in audio_write() argument
371 audio_read(dev_t dev, struct uio *uio, cred_t *credp) in audio_read() argument
380 rv = (c->c_read == NULL) ? ENXIO : c->c_read(c, uio, credp); in audio_read()
[all …]
/illumos-gate/usr/src/uts/intel/io/amdzen/
H A Dusmn.c45 usmn_open(dev_t *devp, int flags, int otype, cred_t *credp) in usmn_open() argument
50 if (crgetzoneid(credp) != GLOBAL_ZONEID || in usmn_open()
51 secpolicy_hwmanip(credp) != 0) { in usmn_open()
72 usmn_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, in usmn_ioctl() argument
88 if (crgetzoneid(credp) != GLOBAL_ZONEID || in usmn_ioctl()
89 secpolicy_hwmanip(credp) != 0) { in usmn_ioctl()
132 usmn_close(dev_t dev, int flag, int otyp, cred_t *credp) in usmn_close() argument
H A Dzen_udf.c45 zen_udf_open(dev_t *devp, int flags, int otype, cred_t *credp) in zen_udf_open() argument
50 if (crgetzoneid(credp) != GLOBAL_ZONEID || in zen_udf_open()
51 secpolicy_hwmanip(credp) != 0) { in zen_udf_open()
72 zen_udf_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, in zen_udf_ioctl() argument
88 if (crgetzoneid(credp) != GLOBAL_ZONEID || in zen_udf_ioctl()
89 secpolicy_hwmanip(credp) != 0) { in zen_udf_ioctl()
126 zen_udf_close(dev_t dev, int flag, int otyp, cred_t *credp) in zen_udf_close() argument
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfcode.c257 fc_open(dev_t *devp, int flag, int otyp, cred_t *credp) in fc_open() argument
443 return (fc_get_parameters(dev, arg, mode, credp, rvalp)); in fc_ioctl()
450 return (fc_get_my_args(dev, arg, mode, credp, rvalp)); in fc_ioctl()
457 return (fc_run_priv(dev, arg, mode, credp, rvalp)); in fc_ioctl()
464 return (fc_validate(dev, arg, mode, credp, rvalp)); in fc_ioctl()
470 return (fc_get_fcode(dev, arg, mode, credp, rvalp)); in fc_ioctl()
477 return (fc_set_fcode_error(dev, arg, mode, credp, rvalp)); in fc_ioctl()
567 fc_get_my_args(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) in fc_get_my_args() argument
613 fc_run_priv(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) in fc_run_priv() argument
776 fc_validate(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) in fc_validate() argument
[all …]
/illumos-gate/usr/src/uts/common/sys/1394/targets/dcam1394/
H A Ddcam.h138 int dcam_open(dev_t *devp, int flag, int otyp, cred_t *credp);
139 int dcam_close(dev_t dev, int flags, int otyp, cred_t *credp);
140 int dcam_read(dev_t dev, struct uio *uio, cred_t *credp);
141 int dcam_write(dev_t dev, struct uio *uio, cred_t *credp);
146 cred_t *credp, int *rvalp);
/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) in dummy_modclose()
85 dummy_modopen(queue_t *q, dev_t *devp, int flag, int sflag, cred_t *credp) in dummy_modopen() argument
/illumos-gate/usr/src/uts/common/io/ksensor/
H A Dksensor_drv.c58 ksensor_open(dev_t *devp, int flags, int otype, cred_t *credp) in ksensor_open() argument
60 if (crgetzoneid(credp) != GLOBAL_ZONEID || drv_priv(credp) != 0) { in ksensor_open()
110 ksensor_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, in ksensor_ioctl() argument
131 ksensor_close(dev_t dev, int flags, int otype, cred_t *credp) in ksensor_close() argument
/illumos-gate/usr/src/uts/sun4u/io/
H A Depic.c301 epic_open(dev_t *devp, int flag, int otyp, cred_t *credp) in epic_open() argument
305 _NOTE(ARGUNUSED(credp)) in epic_open()
314 epic_close(dev_t dev, int flag, int otyp, cred_t *credp) in epic_close() argument
318 _NOTE(ARGUNUSED(credp)) in epic_close()
327 epic_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, in epic_ioctl() argument
330 _NOTE(ARGUNUSED(credp)) in epic_ioctl()
/illumos-gate/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394.h94 int hci1394_open(dev_t *devp, int flag, int otyp, cred_t *credp);
95 int hci1394_close(dev_t dev, int flag, int otyp, cred_t *credp);
101 int hci1394_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp,
/illumos-gate/usr/src/uts/common/sys/
H A Ddevops.h89 int (*cb_open)(dev_t *devp, int flag, int otyp, cred_t *credp);
90 int (*cb_close)(dev_t dev, int flag, int otyp, cred_t *credp);
94 int (*cb_read)(dev_t dev, struct uio *uiop, cred_t *credp);
95 int (*cb_write)(dev_t dev, struct uio *uiop, cred_t *credp);
97 cred_t *credp, int *rvalp);
103 unsigned int maxprot, unsigned int flags, cred_t *credp);
119 int (*cb_aread)(dev_t dev, struct aio_req *aio, cred_t *credp);
120 int (*cb_awrite)(dev_t dev, struct aio_req *aio, cred_t *credp);
/illumos-gate/usr/src/uts/sun4u/io/i2c/clients/
H A Dltc1427.c144 ltc1427_open(dev_t *devp, int flags, int otyp, cred_t *credp) in ltc1427_open() argument
146 _NOTE(ARGUNUSED(credp)) in ltc1427_open()
191 ltc1427_close(dev_t dev, int flags, int otyp, cred_t *credp) in ltc1427_close() argument
193 _NOTE(ARGUNUSED(flags, otyp, credp)) in ltc1427_close()
221 cred_t *credp, int *rvalp) in ltc1427_ioctl() argument
223 _NOTE(ARGUNUSED(credp, rvalp)) in ltc1427_ioctl()

12345678910>>...12