Thread (154 messages) flat view 154 messages, 11 authors, 2020-01-20

Re: [PATCH v25 03/12] LRNG - /proc interface

From: Andy Lutomirski <luto@kernel.org>
Date: 2019-11-19 17:41:01
Also in: linux-crypto, lkml

On Tue, Nov 19, 2019 at 2:57 AM Stephan Mueller [off-list ref] wrote:
Am Dienstag, 19. November 2019, 11:06:02 CET schrieb Andy Lutomirski:

Hi Andy,
quoted
On Sun, Nov 17, 2019 at 4:16 AM Stephan Müller [off-list ref] wrote:
quoted
Am Samstag, 16. November 2019, 17:39:40 CET schrieb Andy Lutomirski:

Hi Andy,
quoted
quoted
On Nov 16, 2019, at 1:40 AM, Stephan Müller [off-list ref]
wrote:

The LRNG /proc interface provides the same files as the legacy
/dev/random. These files behave identically. Yet, all files are
documented at [1].
Why?
I am not sure here: are you referring to the documentation? Or the one
additional file?

If it is the documentation, do you want me to add it to the patch
description? I initially did not add it as these files were present and
seemingly known what they provide. But I would add that documentation to
the patch description if this is desired.
Sorry, I should have been a lot more explicit.  Why do you want to add
a new interface to read the RNG?  What's wrong with the old one?
There is nothing wrong at all. I actually want to be 100% API and ABI
compliant with the existing random.c. Thus, the list of the sysctls are
identical to the existing random.c with the same behavior (hence I skipped the
documentation of these files).
Whoops, I misunderstood your commit message.  You said "The LRNG /proc
interface provides the same files as the legacy
/dev/random.".  I assumed that meant that you had a file in /proc that
worked like /dev/random.

So never mind.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help