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

From: Andy Lutomirski
Date: Tue Nov 19 2019 - 12:41:01 EST


On Tue, Nov 19, 2019 at 2:57 AM Stephan Mueller <smueller@xxxxxxxxxx> wrote:
>
> Am Dienstag, 19. November 2019, 11:06:02 CET schrieb Andy Lutomirski:
>
> Hi Andy,
>
> > On Sun, Nov 17, 2019 at 4:16 AM Stephan MÃller <smueller@xxxxxxxxxx> wrote:
> > > Am Samstag, 16. November 2019, 17:39:40 CET schrieb Andy Lutomirski:
> > >
> > > Hi Andy,
> > >
> > > > > On Nov 16, 2019, at 1:40 AM, Stephan MÃller <smueller@xxxxxxxxxx>
> > > > > 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.