fix: random: rather than entropy_store abstraction, use global (v5.17)
authorMichael Jeanson <mjeanson@efficios.com>
Wed, 26 Jan 2022 19:53:41 +0000 (14:53 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 28 Jan 2022 16:33:22 +0000 (11:33 -0500)
commitdb812f0000b95d112155e3f77a6cc458b7994c18
tree3c702857e95b8414ad23fc90172b726c33bd4140
parent93607d62a1d7ff9a1912c2a97626a778ae789084
fix: random: rather than entropy_store abstraction, use global (v5.17)

See upstream commit :

  commit 90ed1e67e896cc8040a523f8428fc02f9b164394
  Author: Jason A. Donenfeld <Jason@zx2c4.com>
  Date:   Wed Jan 12 17:18:08 2022 +0100

    random: rather than entropy_store abstraction, use global

    Originally, the RNG used several pools, so having things abstracted out
    over a generic entropy_store object made sense. These days, there's only
    one input pool, and then an uneven mix of usage via the abstraction and
    usage via &input_pool. Rather than this uneasy mixture, just get rid of
    the abstraction entirely and have things always use the global. This
    simplifies the code and makes reading it a bit easier.

Change-Id: I1a2a14d7b6e69a047804e1e91e00fe002f757431
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
instrumentation/events/lttng-module/random.h
This page took 0.028354 seconds and 4 git commands to generate.