summaryrefslogtreecommitdiffstats
path: root/arch/x86/boot/compressed/misc.c
diff options
context:
space:
mode:
authorKees Cook <keescook@chromium.org>2021-10-13 19:57:40 +0200
committerPeter Zijlstra <peterz@infradead.org>2021-10-27 11:07:58 +0200
commit0d054d4e82072bcfd5eb961536b09a9b3f5613fb (patch)
tree020a40b38042c6ab1f58e47df57a432b1cf0f12c /arch/x86/boot/compressed/misc.c
parentx86/tools/relocs: Support >64K section headers (diff)
downloadlinux-0d054d4e82072bcfd5eb961536b09a9b3f5613fb.tar.xz
linux-0d054d4e82072bcfd5eb961536b09a9b3f5613fb.zip
x86/boot: Allow a "silent" kaslr random byte fetch
Under earlyprintk, each RNG call produces a debug report line. To support the future FGKASLR feature, which will fetch random bytes during function shuffling, this is not useful information (each line is identical and tells us nothing new), needlessly spamming the console. Instead, allow for a NULL "purpose" to suppress the debug reporting. Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Link: https://lore.kernel.org/r/20211013175742.1197608-3-keescook@chromium.org
Diffstat (limited to 'arch/x86/boot/compressed/misc.c')
0 files changed, 0 insertions, 0 deletions