Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] chrony: backport upstream patch to fix blocking on getrandom() at startup with recent kernels
Date: Thu, 9 Aug 2018 22:11:45 +0200	[thread overview]
Message-ID: <20180809221145.701a9bb2@windsurf> (raw)
In-Reply-To: <20180809155728.22817-1-peter@korsgaard.com>

Hello,

On Thu,  9 Aug 2018 17:57:28 +0200, Peter Korsgaard wrote:
> chrony calls getrandom() at startup if available, so it needs a workaround
> for the blocking behaviour on recent (4.14.39+), similar to what was done
> for util-linux in commit c4d86707cd6 (util-linux: add two upstream patches
> to fix blocking on getrandom() with recent kernels).
> 
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
>  ...ack-to-reading-dev-urandom-when-getrandom.patch | 42 ++++++++++++++++++++++
>  1 file changed, 42 insertions(+)
>  create mode 100644 package/chrony/0002-util-fall-back-to-reading-dev-urandom-when-getrandom.patch

Applied to master, thanks.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2018-08-09 20:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-09 15:57 [Buildroot] [PATCH] chrony: backport upstream patch to fix blocking on getrandom() at startup with recent kernels Peter Korsgaard
2018-08-09 20:11 ` Thomas Petazzoni [this message]
2018-08-24  7:33 ` Peter Korsgaard

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=20180809221145.701a9bb2@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --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