diff options
author | Tiago Cunha <tcunha@gmx.com> | 2009-09-03 20:44:38 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2009-09-03 20:44:38 +0000 |
commit | f796336a12e2d3c487a53854fdf28c096481a34a (patch) | |
tree | a276b6aa0d020ffcfd4040ff18c31938c06da17c /tmux.c | |
parent | 3b944fe7e847ee5e5741582ed34b702273f0b9ef (diff) | |
download | rtmux-f796336a12e2d3c487a53854fdf28c096481a34a.tar.gz rtmux-f796336a12e2d3c487a53854fdf28c096481a34a.tar.bz2 rtmux-f796336a12e2d3c487a53854fdf28c096481a34a.zip |
Sync OpenBSD patchset 308:
When incorrect passwords are entered, behave similarly to login(1) and backoff
for a bit. Based on a diff from martynas@.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: tmux.c,v 1.168 2009-09-02 01:02:44 tcunha Exp $ */ +/* $Id: tmux.c,v 1.169 2009-09-03 20:44:38 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -52,7 +52,9 @@ struct options global_w_options; /* window options */ struct environ global_environ; int server_locked; +struct passwd *server_locked_pw; u_int password_failures; +time_t password_backoff; char *server_password; time_t server_activity; |