Searched refs:credp (Results 1 - 25 of 286) 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_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_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);
/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/io/
H A Dtem_safe.c126 cred_t *credp, enum called_from called_from);
131 cred_t *credp, enum called_from called_from);
138 cred_t *credp, enum called_from called_from);
179 cred_t *credp,
198 tem_safe_text_cursor(tem, VIS_GET_CURSOR, credp, called_from);
200 tem_safe_pix_cursor(tem, VIS_GET_CURSOR, credp, called_from);
236 tem_safe_input_partial(struct tem_vt_state *tem, cred_t *credp, argument
248 tem_safe_parse(tem, c, credp, called_from);
259 tem_safe_input_byte(struct tem_vt_state *tem, uchar_t c, cred_t *credp, argument
270 tem_safe_input_partial(tem, credp, called_fro
177 tem_safe_check_first_time( struct tem_vt_state *tem, cred_t *credp, enum called_from called_from) argument
353 tem_safe_terminal_emulate( struct tem_vt_state *tem, uchar_t *buf, int len, cred_t *credp, enum called_from called_from) argument
387 tems_safe_display(struct vis_consdisplay *pda, cred_t *credp, enum called_from called_from) argument
402 tems_safe_copy(struct vis_conscopy *pca, cred_t *credp, enum called_from called_from) argument
418 tems_safe_cursor(struct vis_conscursor *pca, cred_t *credp, enum called_from called_from) argument
433 tem_safe_control(struct tem_vt_state *tem, tem_char_t ch, cred_t *credp, enum called_from called_from) argument
750 tem_safe_chkparam(struct tem_vt_state *tem, tem_char_t ch, cred_t *credp, enum called_from called_from) argument
914 credp, called_from); local
1013 tem_safe_getparams(struct tem_vt_state *tem, tem_char_t ch, cred_t *credp, enum called_from called_from) argument
1053 tem_safe_outch(struct tem_vt_state *tem, tem_char_t ch, cred_t *credp, enum called_from called_from) argument
1077 tem_safe_new_line(struct tem_vt_state *tem, cred_t *credp, enum called_from called_from) argument
1092 tem_safe_lf(struct tem_vt_state *tem, cred_t *credp, enum called_from called_from) argument
1144 tem_safe_send_data(struct tem_vt_state *tem, cred_t *credp, enum called_from called_from) argument
1193 tem_safe_parse(struct tem_vt_state *tem, tem_char_t ch, cred_t *credp, enum called_from called_from) argument
1366 tem_safe_scroll(struct tem_vt_state *tem, int start, int end, int count, int direction, cred_t *credp, enum called_from called_from) argument
1435 tem_safe_copy_area(struct tem_vt_state *tem, screen_pos_t s_col, screen_pos_t s_row, screen_pos_t e_col, screen_pos_t e_row, screen_pos_t t_col, screen_pos_t t_row, cred_t *credp, enum called_from called_from) argument
1518 tem_safe_clear_chars(struct tem_vt_state *tem, int count, screen_pos_t row, screen_pos_t col, cred_t *credp, enum called_from called_from) argument
1547 tem_safe_text_display(struct tem_vt_state *tem, term_char_t *string, int count, screen_pos_t row, screen_pos_t col, cred_t *credp, enum called_from called_from) argument
1583 tem_safe_image_display(struct tem_vt_state *tem, uchar_t *image, int height, int width, screen_pos_t row, screen_pos_t col, cred_t *credp, enum called_from called_from) argument
1606 tem_safe_text_copy(struct tem_vt_state *tem, screen_pos_t s_col, screen_pos_t s_row, screen_pos_t e_col, screen_pos_t e_row, screen_pos_t t_col, screen_pos_t t_row, cred_t *credp, enum called_from called_from) argument
1628 tem_safe_text_cls(struct tem_vt_state *tem, int count, screen_pos_t row, screen_pos_t col, cred_t *credp, enum called_from called_from) argument
1655 tem_safe_pix_display(struct tem_vt_state *tem, term_char_t *string, int count, screen_pos_t row, screen_pos_t col, cred_t *credp, enum called_from called_from) argument
1683 tem_safe_pix_copy(struct tem_vt_state *tem, screen_pos_t s_col, screen_pos_t s_row, screen_pos_t e_col, screen_pos_t e_row, screen_pos_t t_col, screen_pos_t t_row, cred_t *credp, enum called_from called_from) argument
1785 tem_safe_pix_cls(struct tem_vt_state *tem, int count, screen_pos_t row, screen_pos_t col, cred_t *credp, enum called_from called_from) argument
1820 tem_safe_pix_clear_prom_output(struct tem_vt_state *tem, cred_t *credp, enum called_from called_from) argument
1845 tem_safe_pix_clear_entire_screen(struct tem_vt_state *tem, cred_t *credp, enum called_from called_from) argument
1890 tem_safe_cls(struct tem_vt_state *tem, cred_t *credp, enum called_from called_from) argument
1925 tem_safe_back_tab(struct tem_vt_state *tem, cred_t *credp, enum called_from called_from) argument
1948 tem_safe_tab(struct tem_vt_state *tem, cred_t *credp, enum called_from called_from) argument
2021 tem_safe_mv_cursor(struct tem_vt_state *tem, int row, int col, cred_t *credp, enum called_from called_from) argument
2049 tem_safe_reset_emulator(struct tem_vt_state *tem, cred_t *credp, enum called_from called_from, boolean_t init_color) argument
2090 tem_safe_reset_display(struct tem_vt_state *tem, cred_t *credp, enum called_from called_from, boolean_t clear_txt, boolean_t init_color) argument
2113 tem_safe_shift( struct tem_vt_state *tem, int count, int direction, cred_t *credp, enum called_from called_from) argument
2168 tem_safe_text_cursor(struct tem_vt_state *tem, short action, cred_t *credp, enum called_from called_from) argument
2189 tem_safe_pix_cursor(struct tem_vt_state *tem, short action, cred_t *credp, enum called_from called_from) argument
2408 tem_safe_pix_cls_range(struct tem_vt_state *tem, screen_pos_t row, int nrows, int offset_y, screen_pos_t col, int ncols, int offset_x, boolean_t sroll_up, cred_t *credp, enum called_from called_from) argument
2573 tem_safe_blank_screen(struct tem_vt_state *tem, cred_t *credp, enum called_from called_from) argument
2597 tem_safe_unblank_screen(struct tem_vt_state *tem, cred_t *credp, enum called_from called_from) argument
[all...]
H A Dtem.c188 tem_write(tem_vt_state_t tem_arg, uchar_t *buf, ssize_t len, cred_t *credp) argument
201 tem_safe_check_first_time(tem, credp, CALLED_FROM_NORMAL);
202 tem_safe_terminal_emulate(tem, buf, len, credp, CALLED_FROM_NORMAL);
209 tem_internal_init(struct tem_vt_state *ptem, cred_t *credp, argument
239 tem_safe_reset_display(ptem, credp, CALLED_FROM_NORMAL,
275 tem_init(cred_t *credp) argument
305 tem_internal_init(ptem, credp, B_TRUE, B_FALSE);
346 tem_destroy(tem_vt_state_t tem_arg, cred_t *credp) argument
354 tem_safe_blank_screen(tem, credp, CALLED_FROM_NORMAL);
369 tems_failed(cred_t *credp, boolean_ argument
388 tem_info_init(char *pathname, cred_t *credp) argument
697 tems_cls_layered(struct vis_consclear *pda, cred_t *credp) argument
713 tems_display_layered(struct vis_consdisplay *pda, cred_t *credp) argument
729 tems_copy_layered(struct vis_conscopy *pma, cred_t *credp) argument
743 tems_cursor_layered(struct vis_conscursor *pca, cred_t *credp) argument
753 tem_kdsetmode(int mode, cred_t *credp) argument
763 tems_reset_colormap(cred_t *credp, enum called_from called_from) argument
811 tem_prom_scroll_up(struct tem_vt_state *tem, int nrows, cred_t *credp, enum called_from called_from) argument
844 tem_adjust_row(struct tem_vt_state *tem, int prom_row, cred_t *credp, enum called_from called_from) argument
884 tem_align(struct tem_vt_state *tem, cred_t *credp, enum called_from called_from) argument
1002 tem_set_fbmode(tem_vt_state_t tem_arg, uchar_t fbmode, cred_t *credp) argument
1028 tem_activate(tem_vt_state_t tem_arg, boolean_t unblank, cred_t *credp) argument
1048 tem_switch(tem_vt_state_t tem_arg1, tem_vt_state_t tem_arg2, cred_t *credp) argument
[all...]
/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/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/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/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
/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf_notes.c170 rlim64_t rlimit, cred_t *credp, core_content_t content)
237 (caddr_t)&bigwad->psinfo, rlimit, credp);
264 (caddr_t)&bigwad->pstatus, rlimit, credp);
269 platform, rlimit, credp);
279 (caddr_t)bigwad->auxv, rlimit, credp);
289 (caddr_t)&bigwad->uts, rlimit, credp);
295 (caddr_t)&bigwad->psecflags, rlimit, credp);
308 (caddr_t)&bigwad->pcred, rlimit, credp);
313 (caddr_t)&content, rlimit, credp);
320 (caddr_t)&bigwad->ppriv, rlimit, credp);
169 write_elfnotes(proc_t *p, int sig, vnode_t *vp, offset_t offset, rlim64_t rlimit, cred_t *credp, core_content_t content) argument
[all...]
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) {
85 nca_close(queue_t *q, int flags __unused, cred_t *credp __unused)
/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) argument
166 c->c_cred = credp;
193 audio_stropen(queue_t *rq, dev_t *devp, int oflag, int sflag, cred_t *credp) argument
223 c->c_cred = credp;
254 audio_strclose(queue_t *rq, int flag, cred_t *credp) argument
261 _NOTE(ARGUNUSED(credp));
302 audio_close(dev_t dev, int flag, int otyp, cred_t *credp) argument
308 _NOTE(ARGUNUSED(credp));
353 audio_write(dev_t dev, struct uio *uio, cred_t *credp) argument
362 rv = (c->c_write == NULL) ? ENXIO : c->c_write(c, uio, credp);
371 audio_read(dev_t dev, struct uio *uio, cred_t *credp) argument
389 audio_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) 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/cmd/keyserv/
H A Dchkey_common.c578 ns_cred_t *credp; local
582 if ((credp = (ns_cred_t *)calloc(1, sizeof (ns_cred_t))) == NULL) {
592 credp->cred.unix_cred.userID = strdup(bindDN);
594 credp->cred.unix_cred.userID = strdup(dn);
596 if (credp->cred.unix_cred.userID == NULL) {
602 credp->cred.unix_cred.passwd = strdup(bindPasswd);
605 credp->cred.unix_cred.passwd = strdup(passwd);
615 credp->cred.unix_cred.passwd = ldap_pw;
619 if (credp->cred.unix_cred.passwd == NULL) {
630 credp
[all...]
/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/kmdb/
H A Dkdrv.c52 kdrv_open(dev_t *dev, int openflags, int otyp, cred_t *credp) argument
57 if (secpolicy_kmdb(credp) != 0)
65 kdrv_close(dev_t dev, int openflags, int otyp, cred_t *credp) argument
131 kdrv_ioctl(dev_t dev, int cmd, intptr_t arg, int flags, cred_t *credp, argument
/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/
H A Depic.c301 epic_open(dev_t *devp, int flag, int otyp, cred_t *credp) argument
305 _NOTE(ARGUNUSED(credp))
314 epic_close(dev_t dev, int flag, int otyp, cred_t *credp) argument
318 _NOTE(ARGUNUSED(credp))
327 epic_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, argument
330 _NOTE(ARGUNUSED(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) argument
146 _NOTE(ARGUNUSED(credp))
191 ltc1427_close(dev_t dev, int flags, int otyp, cred_t *credp) argument
193 _NOTE(ARGUNUSED(flags, otyp, credp))
221 cred_t *credp, int *rvalp)
223 _NOTE(ARGUNUSED(credp, rvalp))
220 ltc1427_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
/illumos-gate/usr/src/uts/common/os/
H A Dcore.c199 cred_t *credp = CRED(); local
241 rootvp, startvp, credp);
269 (VOP_GETATTR(vp, &vattr, 0, credp, NULL) != 0 ||
270 vattr.va_uid != crgetuid(credp))) {
272 credp, NULL);
330 cred_t *credp = CRED(); local
363 (uid = crgetuid(credp)) != crgetruid(credp) ||
364 uid != crgetsuid(credp) ||
365 (gid = crgetgid(credp)) !
796 core_seg(proc_t *p, vnode_t *vp, offset_t offset, caddr_t addr, size_t size, rlim64_t rlimit, cred_t *credp) argument
844 core_write(vnode_t *vp, enum uio_seg segflg, offset_t offset, const void *buf, size_t len, rlim64_t rlimit, cred_t *credp) argument
[all...]
/illumos-gate/usr/src/uts/sun4/io/efcode/
H A Dfcode.c257 fc_open(dev_t *devp, int flag, int otyp, cred_t *credp) argument
421 fc_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
443 return (fc_get_parameters(dev, arg, mode, credp, rvalp));
450 return (fc_get_my_args(dev, arg, mode, credp, rvalp));
457 return (fc_run_priv(dev, arg, mode, credp, rvalp));
464 return (fc_validate(dev, arg, mode, credp, rvalp));
470 return (fc_get_fcode(dev, arg, mode, credp, rvalp));
477 return (fc_set_fcode_error(dev, arg, mode, credp, rvalp));
494 fc_get_parameters(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
567 fc_get_my_args(dev_t dev, intptr_t arg, int mode, cred_t *credp, in argument
613 fc_run_priv(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
776 fc_validate(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
828 fc_get_fcode(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
891 fc_set_fcode_error(dev_t dev, intptr_t arg, int mode, cred_t *credp, int *rvalp) argument
[all...]
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/sol_umad/
H A Dsol_umad.h160 static int umad_read(dev_t dev, struct uio *uiop, cred_t *credp);
161 static int umad_write(dev_t dev, struct uio *uiop, cred_t *credp);
165 cred_t *credp, int *rvalp);

Completed in 125 milliseconds

1234567891011>>