From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] eudev: add patch to fix getrandom() system call on ARM64
Date: Thu, 4 Aug 2016 16:38:44 +0200 [thread overview]
Message-ID: <20160804163844.68287f49@free-electrons.com> (raw)
In-Reply-To: <7h7fbwk3l2.fsf@baylibre.com>
Hello,
On Thu, 04 Aug 2016 07:31:53 -0700, Kevin Hilman wrote:
> Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
>
> > When the kernel headers in the toolchain don't provide __NR_getrandom,
> > eudev has a predefined set of values. However, the provided value for
> > ARM64 is incorrect, and causes a runtime problem on this architecture
> > when old kernel headers (not providing __NR_getrandom) are used.
> >
> > This commit adds a patch to eudev to fix this issue.
> >
> > Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
>
> Thanks for the patch, I tested it and the syscall splat goes away.
>
> Tested-by: Kevin Hilman <khilman@baylibre.com>
Thanks. FWIW, the patch has been submitted upstream:
https://github.com/gentoo/eudev/pull/134.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-08-04 14:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-04 9:04 [Buildroot] [PATCH] eudev: add patch to fix getrandom() system call on ARM64 Thomas Petazzoni
[not found] ` <7h7fbwk3l2.fsf@baylibre.com>
2016-08-04 14:38 ` Thomas Petazzoni [this message]
2016-08-04 20:46 ` 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=20160804163844.68287f49@free-electrons.com \
--to=thomas.petazzoni@free-electrons.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