aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <[email protected]>2022-09-27 09:26:44 +0000
committerJason A. Donenfeld <[email protected]>2022-09-29 19:37:27 +0000
commitdd54fd7dfa4574fe350b75a90693dc6552c535e3 (patch)
treee5c63f9a0579050ef1d5cd4dc09f258522f5f915 /lib/debugobjects.c
parentkfence: use better stack hash seed (diff)
downloadkernel-dd54fd7dfa4574fe350b75a90693dc6552c535e3.tar.gz
kernel-dd54fd7dfa4574fe350b75a90693dc6552c535e3.zip
random: use init_utsname() instead of utsname()
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 <[email protected]> Reviewed-by: Kees Cook <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions