Messages in this thread | | | Date | Tue, 27 Sep 2022 07:17:13 -0700 | From | Kees Cook <> | Subject | Re: [PATCH] random: use init_utsname() instead of utsname() |
| |
On Tue, Sep 27, 2022 at 11:29:20AM +0200, Jason A. Donenfeld wrote: > Rather than going through the current-> indirection for utsname, at this > point in boot, init_utsname()==utsname(), so just use it directly that > way. Additionally, init_utsname() appears to be available nearly always, > so move it into random_init_early(). > > Suggested-by: Kees Cook <keescook@chromium.org> > Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
-- Kees Cook
| |