[prev in list] [next in list] [prev in thread] [next in thread]
List: busybox
Subject: Re: [PATCH 1/1] make LOGIN_FAIL_DELAY configurable
From: Denys Vlasenko <vda.linux () googlemail ! com>
Date: 2014-12-22 0:56:31
Message-ID: CAK1hOcPDiGqrkgaADH4kLL-6-VU09Ttua9q5x7JWs39qBNcrQQ () mail ! gmail ! com
[Download RAW message or body]
Applied, thanks!
On Sat, Dec 20, 2014 at 4:11 PM, Peter Kümmel <syntheticpp@gmx.net> wrote:
> Pass LOGIN_FAIL_DELAY=<seconds> in busybox's CONFIG_EXTRA_CFLAGS
> to change default delay of 3 seconds.
>
> Signed-off-by: Peter Kümmel <syntheticpp@gmx.net>
> ---
> include/libbb.h | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/include/libbb.h b/include/libbb.h
> index 8e8b9ca..68a7cf0 100644
> --- a/include/libbb.h
> +++ b/include/libbb.h
> @@ -1271,7 +1271,9 @@ char *bb_simplify_path(const char *path) FAST_FUNC;
> /* Returns ptr to NUL */
> char *bb_simplify_abs_path_inplace(char *path) FAST_FUNC;
>
> +#ifndef LOGIN_FAIL_DELAY
> #define LOGIN_FAIL_DELAY 3
> +#endif
> extern void bb_do_delay(int seconds) FAST_FUNC;
> extern void change_identity(const struct passwd *pw) FAST_FUNC;
> extern void run_shell(const char *shell, int loginshell, const char *command, const \
> char **additional_args) NORETURN FAST_FUNC;
> --
> 1.9.1
>
> _______________________________________________
> busybox mailing list
> busybox@busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic