From: "Peter Kümmel" <syntheticpp@gmx.net>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] busybox: Make it possible to override LOGIN_FAIL_DELAY in CONFIG_EXTRA_CFLAGS
Date: Mon, 22 Dec 2014 09:47:42 +0100 [thread overview]
Message-ID: <5497DAAE.4070505@gmx.net> (raw)
In-Reply-To: <1419237258-3343-1-git-send-email-syntheticpp@gmx.net>
This is the upstream patch.
Am 22.12.2014 um 09:34 schrieb Peter K?mmel:
> Signed-off-by: Peter K?mmel <syntheticpp@gmx.net>
> ---
> .../busybox/busybox-0007-login-fail-delay.patch | 32 ++++++++++++++++++++++
> 1 file changed, 32 insertions(+)
> create mode 100644 package/busybox/busybox-0007-login-fail-delay.patch
>
> diff --git a/package/busybox/busybox-0007-login-fail-delay.patch b/package/busybox/busybox-0007-login-fail-delay.patch
> new file mode 100644
> index 0000000..0e2bb2e
> --- /dev/null
> +++ b/package/busybox/busybox-0007-login-fail-delay.patch
> @@ -0,0 +1,32 @@
> +From a6588fa10230e7b87990482773a445701abbaae8 Mon Sep 17 00:00:00 2001
> +From: =?UTF-8?q?Peter=20K=C3=BCmmel?= <syntheticpp@gmx.net>
> +Date: Mon, 22 Dec 2014 01:55:54 +0100
> +Subject: [PATCH 1/1] Make it possible to override LOGIN_FAIL_DELAY in
> + CONFIG_EXTRA_CFLAGS
> +MIME-Version: 1.0
> +Content-Type: text/plain; charset=UTF-8
> +Content-Transfer-Encoding: 8bit
> +
> +Signed-off-by: Peter K?mmel <syntheticpp@gmx.net>
> +Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
> +---
> + 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
> +
>
next prev parent reply other threads:[~2014-12-22 8:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-22 8:34 [Buildroot] [PATCH 1/1] busybox: Make it possible to override LOGIN_FAIL_DELAY in CONFIG_EXTRA_CFLAGS Peter Kümmel
2014-12-22 8:47 ` Peter Kümmel [this message]
2014-12-22 14:00 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5497DAAE.4070505@gmx.net \
--to=syntheticpp@gmx.net \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox