Home
last modified time | relevance | path

Searched refs:loginmsg (Results 1 – 18 of 18) sorted by relevance

/freebsd/crypto/openssh/
H A Dsshlogin.c67 extern struct sshbuf *loginmsg;
107 if ((r = sshbuf_put(loginmsg, in store_lastlog_message()
120 r = sshbuf_putf(loginmsg, "Last login: %s\r\n", in store_lastlog_message()
123 r = sshbuf_putf(loginmsg, "Last login: %s from %s\r\n", in store_lastlog_message()
H A Dauth-shadow.c44 extern struct sshbuf *loginmsg;
74 if ((r = sshbuf_putf(loginmsg, in auth_shadow_acctexpired()
133 if ((r = sshbuf_putf(loginmsg, in auth_shadow_pwexpired()
H A Dauth-passwd.c59 extern struct sshbuf *loginmsg;
152 if ((r = sshbuf_putf(loginmsg, in warn_expiry()
159 if ((r = sshbuf_putf(loginmsg, in warn_expiry()
H A Dauth2.c64 extern struct sshbuf *loginmsg;
414 if (sshbuf_len(loginmsg) > 0) { in userauth_finish()
415 if ((r = sshbuf_put(loginmsg, "\0", 1)) != 0) in userauth_finish()
418 userauth_send_banner(ssh, sshbuf_ptr(loginmsg)); in userauth_finish()
H A Dauth.c83 extern struct sshbuf *loginmsg;
217 if (!sys_auth_allowed_user(pw, loginmsg)) in allowed_user()
333 loginmsg); in auth_log()
H A Dauth.h86 struct sshbuf *loginmsg; member
H A Dauth-pam.c107 extern struct sshbuf *loginmsg;
642 if ((r = sshbuf_putf(loginmsg, "%s\n", in sshpam_store_conv()
918 if ((r = sshbuf_put(loginmsg, **prompts, in sshpam_query()
1321 if ((r = sshbuf_putf(loginmsg, "%s\n", in sshpam_passwd_conv()
H A Dsession.c149 extern struct sshbuf *loginmsg;
262 if (sshbuf_len(loginmsg) == 0) in display_loginmsg()
264 if ((r = sshbuf_put_u8(loginmsg, 0)) != 0) in display_loginmsg()
266 printf("%s", (char *)sshbuf_ptr(loginmsg)); in display_loginmsg()
267 sshbuf_reset(loginmsg); in display_loginmsg()
536 sshbuf_reset(loginmsg); in do_exec_no_pty()
741 sshbuf_reset(loginmsg); in do_exec()
H A Dmonitor.c111 extern struct sshbuf *loginmsg;
291 authctxt->loginmsg = loginmsg; in monitor_child_preauth()
1134 (r = sshbuf_put_stringb(m, loginmsg)) != 0) in mm_answer_pam_account()
1703 if ((r = sshbuf_put_stringb(m, loginmsg)) != 0) in mm_answer_pty()
1705 sshbuf_reset(loginmsg); in mm_answer_pty()
H A Dsshd-auth.c162 struct sshbuf *loginmsg; variable
775 if ((loginmsg = sshbuf_new()) == NULL) in main()
H A Dsshd-session.c195 struct sshbuf *loginmsg; variable
448 sshbuf_reset(loginmsg); in privsep_postauth()
1301 if ((loginmsg = sshbuf_new()) == NULL) in main()
H A Dmonitor_wrap.c83 extern struct sshbuf *loginmsg;
653 if ((r = sshbuf_put(loginmsg, msg, strlen(msg))) != 0) in mm_pty_allocate()
726 (r = sshbuf_put(loginmsg, msg, msglen)) != 0) in mm_do_pam_account()
H A Dloginrec.c203 extern struct sshbuf *loginmsg;
462 loginmsg)) in login_write()
H A Dsshd.c215 struct sshbuf *loginmsg; variable
/freebsd/libexec/getty/
H A Dinit.c43 static char loginmsg[] = "login: "; variable
54 { "lm", loginmsg, NULL }, /* login message */
/freebsd/crypto/openssh/openbsd-compat/
H A Dport-aix.c207 if ((r = sshbuf_put(ctxt->loginmsg, in sys_auth_passwd()
241 sys_auth_allowed_user(struct passwd *pw, struct sshbuf *loginmsg) in sys_auth_allowed_user() argument
268 if ((r = sshbuf_put(loginmsg, msg, strlen(msg))) != 0) in sys_auth_allowed_user()
284 struct sshbuf *loginmsg) in sys_auth_record_login() argument
/freebsd/libexec/ftpd/
H A Dftpd.c
/freebsd/contrib/blocklist/diff/
H A Dssh.diff75 extern Buffer loginmsg;