public inbox for
 help / color / mirror / Atom feed
From: Jonathan Wakely <>
To: Xi Ruoyao <>
Subject: Re: [PATCH] Implement non-trivial std::random_device::entropy (PR libstdc++/67578)
Date: Tue, 23 May 2017 12:11:00 -0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On 22/05/17 22:10 +0800, Xi Ruoyao wrote:
>In very old Linux kernel (1.3.x) there is random.h but not RNDGETENTCNT.
>The random.h without RNDGETENTCNT was only used in the kernel internally.
>But at that time Linux Makefile didn't have "headers_install" target
>so user may copy all headers (including the internal ones) to /usr/include.
>It seems we should check RNDGETENTCNT explicitly if we want to support

OK, I think that's ancient enough that we don't need to care about it,
but on the other hand it's not impossible to believe that somebody
could be using a custom Linux kernel that removed it. So let's keep
the test for it.

  reply	other threads:[~2017-05-23 11:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-18 12:15 Xi Ruoyao
2017-05-22 13:21 ` Jonathan Wakely
2017-05-22 13:50   ` Xi Ruoyao
2017-05-22 14:10     ` Jonathan Wakely
2017-05-22 14:19       ` Xi Ruoyao
2017-05-23 12:11         ` Jonathan Wakely [this message]
2017-05-22 14:30       ` [PATCH v2] " Xi Ruoyao
2017-05-23 16:22         ` Jonathan Wakely
2017-05-24 19:28           ` Jonathan Wakely

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:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \

* 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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).