mirror of
https://github.com/tmux/tmux.git
synced 2025-11-05 01:56:07 +00:00
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@.
This commit is contained in:
4
tmux.c
4
tmux.c
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user