Messages in this thread | | | From | Linus Torvalds <> | Date | Mon, 30 Apr 2018 20:01:13 +0000 | Subject | Re: Hashed pointer issues |
| |
On Mon, Apr 30, 2018 at 12:16 PM Kees Cook <keescook@chromium.org> wrote:
> I just noticed: there are _no_ users of get_random_bytes_arch() ... > didn't we once use it to feed entropy to the CRNG?
We use arch_get_random_long() for that. See "crng_initialize()".
But if there are no actual users of get_random_bytes_arch(), maybe we can just remove the fallback to the non-arch code, and add that return value (and the __must_check()).
Linus
| |