/titanic_41/usr/src/lib/pam_modules/sample/ |
H A D | sample_utils.c | 48 __free_msg(num_msg, msg) in __free_msg() argument 49 int num_msg; in __free_msg() 57 for (i = 0; i < num_msg; i++, m++) { 71 __free_resp(num_msg, resp) in __free_resp() argument 72 int num_msg; in __free_resp() 80 for (i = 0; i < num_msg; i++, r++) { 95 __display_errmsg(conv_funp, num_msg, messages, conv_apdp) 97 int num_msg; variable 108 msg = (struct pam_message *)calloc(num_msg, 116 k = num_msg; [all …]
|
H A D | sample_utils.h | 37 __free_msg(int num_msg, struct pam_message *msg); 40 __free_resp(int num_msg, struct pam_response *resp); 45 int num_msg, 53 int num_msg,
|
H A D | sample_authenticate.c | 82 int i, num_msg; in pam_sm_authenticate() local 147 num_msg = 1; in pam_sm_authenticate() 149 num_msg, messages, NULL, &ret_resp); in pam_sm_authenticate() 174 if (num_msg > 0) { in pam_sm_authenticate() 181 __free_resp(num_msg, ret_resp); in pam_sm_authenticate()
|
/titanic_41/usr/src/cmd/power/ |
H A D | pm_pam_conv.c | 112 free_resp(int num_msg, struct pam_response *pr) in free_resp() argument 120 for (i = 0; i < num_msg; i++, r++) { in free_resp() 134 pam_tty_conv(int num_msg, struct pam_message **mess, in pam_tty_conv() argument 138 struct pam_response *r = calloc(num_msg, sizeof (struct pam_response)); in pam_tty_conv() 141 if (num_msg >= PAM_MAX_NUM_MSG) { in pam_tty_conv() 143 num_msg, PAM_MAX_NUM_MSG); in pam_tty_conv() 151 for (i = 0; i < num_msg; i++) { in pam_tty_conv()
|
/titanic_41/usr/src/cmd/ssh/sshd/ |
H A D | auth2-pam.c | 40 static int do_pam_conv_kbd_int(int num_msg, 218 do_pam_conv_kbd_int(int num_msg, struct pam_message **msg, in do_pam_conv_kbd_int() argument 236 conv_ctxt->prompts = xmalloc(sizeof(int) * num_msg); in do_pam_conv_kbd_int() 237 conv_ctxt->responses = xmalloc(sizeof(struct pam_response) * num_msg); in do_pam_conv_kbd_int() 238 (void) memset(conv_ctxt->responses, 0, sizeof(struct pam_response) * num_msg); in do_pam_conv_kbd_int() 241 for (i = 0, conv_ctxt->num_expected = 0; i < num_msg; i++) { in do_pam_conv_kbd_int() 289 for (i = 0, j = 0; i < num_msg; i++) { in do_pam_conv_kbd_int()
|
H A D | auth-pam.c | 59 static int do_pam_conversation(int num_msg, const struct pam_message **msg, 385 do_pam_conversation(int num_msg, const struct pam_message **msg, in do_pam_conversation() argument 392 reply = xmalloc(num_msg * sizeof(*reply)); in do_pam_conversation() 394 (void) memset(reply, 0, num_msg * sizeof(*reply)); in do_pam_conversation() 396 for (count = 0; count < num_msg; count++) { in do_pam_conversation()
|
/titanic_41/usr/src/cmd/su/ |
H A D | su.c | 1086 su_conv(int num_msg, struct pam_message **msg, struct pam_response **response, in su_conv() argument 1095 if (num_msg <= 0) in su_conv() 1098 *response = (struct pam_response *)calloc(num_msg, in su_conv() 1103 k = num_msg; in su_conv() 1118 freeresponse(num_msg, response); in su_conv() 1136 freeresponse(num_msg, response); in su_conv() 1173 emb_su_conv(int num_msg, struct pam_message **msg, in emb_su_conv() argument 1182 if (num_msg <= 0) in emb_su_conv() 1185 *response = (struct pam_response *)calloc(num_msg, in emb_su_conv() 1191 (void) printf("CONV %d\n", num_msg); in emb_su_conv() [all …]
|
/titanic_41/usr/src/cmd/sgs/libconv/common/ |
H A D | globals.c | 60 Conv_fmt_flags_t flags, size_t num_msg, const Msg *msg, in map_msg2str() argument 63 if ((val < num_msg) && (msg[val] != 0)) in map_msg2str() 197 _conv_iter_msgarr(uint32_t basevalue, const Msg *msg, size_t num_msg, in _conv_iter_msgarr() argument 200 for (; num_msg-- > 0; basevalue++, msg++) { in _conv_iter_msgarr()
|
/titanic_41/usr/src/cmd/bnu/ |
H A D | in.uucpd.c | 512 uucp_conv(num_msg, msg, response, appdata_ptr) argument 513 int num_msg; 524 if (num_msg <= 0) 527 *response = (struct pam_response *)calloc(num_msg, 532 k = num_msg; 555 for (i = 0; i < num_msg; i++, r++) { 578 for (i = 0; i < num_msg; i++, r++) {
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.rexecd.c | 536 rexec_conv(int num_msg, struct pam_message **msg, in rexec_conv() argument 543 if (num_msg <= 0) in rexec_conv() 546 *response = calloc(num_msg, sizeof (struct pam_response)); in rexec_conv() 559 for (i = 0; i < num_msg; i++, r++) { in rexec_conv()
|
/titanic_41/usr/src/lib/libxcurses/src/tic/ |
H A D | ticscan.c | 71 char num_msg[] = m_textstr(3131, "Number; name='%s', value=%d\n", "I name value"); variable 218 stderr, m_strmsg(num_msg), in get_token()
|
/titanic_41/usr/src/cmd/vt/ |
H A D | vtdaemon.c | 545 vt_conv(int num_msg, struct pam_message **msg, in vt_conv() argument 552 if (num_msg >= PAM_MAX_NUM_MSG) { in vt_conv() 554 num_msg, PAM_MAX_NUM_MSG); in vt_conv() 559 *response = calloc(num_msg, sizeof (struct pam_response)); in vt_conv() 565 for (i = 0; i < num_msg; i++) { in vt_conv()
|
/titanic_41/usr/src/cmd/passwd/ |
H A D | passwd.c | 1581 passwd_conv(int num_msg, struct pam_message **msg, in passwd_conv() argument 1589 if (num_msg <= 0) in passwd_conv() 1592 *response = (struct pam_response *)calloc(num_msg, in passwd_conv() 1597 k = num_msg; in passwd_conv() 1612 for (i = 0; i < num_msg; i++, r++) { in passwd_conv() 1634 for (i = 0; i < num_msg; i++, r++) { in passwd_conv()
|
/titanic_41/usr/src/cmd/login/ |
H A D | login.c | 801 login_conv(int num_msg, struct pam_message **msg, in login_conv() argument 809 if (num_msg <= 0) in login_conv() 812 *response = calloc(num_msg, sizeof (struct pam_response)); in login_conv() 816 k = num_msg; in login_conv() 834 for (i = 0; i < num_msg; i++, r++) { in login_conv() 855 for (i = 0; i < num_msg; i++, r++) { in login_conv()
|
/titanic_41/usr/src/lib/libpam/ |
H A D | pam_framework.c | 2625 free_resp(int num_msg, struct pam_response *resp) in free_resp() argument 2632 for (i = 0; i < num_msg; i++, r++) { in free_resp() 2645 do_conv(pam_handle_t *pamh, int msg_style, int num_msg, in do_conv() argument 2671 k = num_msg; in do_conv() 2673 msg = calloc(num_msg, sizeof (struct pam_message)); in do_conv() 2705 retcode = (pam_convp->conv)(num_msg, &msg, ret_respp, conv_apdp); in do_conv() 2715 for (i = 0; i < num_msg; i++, r++) { in do_conv() 2759 __pam_display_msg(pam_handle_t *pamh, int msg_style, int num_msg, in __pam_display_msg() argument 2765 ret = do_conv(pamh, msg_style, num_msg, messages, in __pam_display_msg() 2769 free_resp(num_msg, ret_respp); in __pam_display_msg()
|
H A D | pam_impl.h | 148 __pam_display_msg(pam_handle_t *pamh, int msg_style, int num_msg,
|
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | auth.c | 1198 static int PAM_conv (int num_msg, in PAM_conv() argument 1209 reply = malloc(sizeof(struct pam_response) * num_msg); in PAM_conv() 1213 for (replies = 0; replies < num_msg; replies++) { in PAM_conv()
|
/titanic_41/usr/src/cmd/cron/ |
H A D | cron.c | 3478 cron_conv(int num_msg, struct pam_message **msgs, in cron_conv() argument 3484 for (i = 0; i < num_msg; i++) { in cron_conv()
|