diff options
author | Kees Cook | 2021-10-13 10:57:40 -0700 |
---|---|---|
committer | Peter Zijlstra | 2021-10-27 11:07:58 +0200 |
commit | 0d054d4e82072bcfd5eb961536b09a9b3f5613fb (patch) | |
tree | 020a40b38042c6ab1f58e47df57a432b1cf0f12c /arch/x86/lib/iomem.c | |
parent | a54c401ae66fc78f3f0002938b3465ebd6379009 (diff) |
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/lib/iomem.c')
0 files changed, 0 insertions, 0 deletions