diff options
author | Kees Cook <keescook@chromium.org> | 2021-10-13 19:57:40 +0200 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-10-27 11:07:58 +0200 |
commit | 0d054d4e82072bcfd5eb961536b09a9b3f5613fb (patch) | |
tree | 020a40b38042c6ab1f58e47df57a432b1cf0f12c /tools | |
parent | x86/tools/relocs: Support >64K section headers (diff) | |
download | linux-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 'tools')
0 files changed, 0 insertions, 0 deletions