Re: [PATCH 1/6] random: Mark CONFIG_ARCH_RANDOM functions __must_check

2019-10-29 Thread Ard Biesheuvel
On Mon, 28 Oct 2019 at 22:06, Richard Henderson wrote: > > We cannot use the pointer output without validating the > success of the random read. > > Signed-off-by: Richard Henderson > --- > Cc: Kees Cook > Cc: "H. Peter Anvin" > Cc: linux-a...@vger.kernel.org > --- > include/linux/random.h | 8

[PATCH 1/6] random: Mark CONFIG_ARCH_RANDOM functions __must_check

2019-10-28 Thread Richard Henderson
We cannot use the pointer output without validating the success of the random read. Signed-off-by: Richard Henderson --- Cc: Kees Cook Cc: "H. Peter Anvin" Cc: linux-a...@vger.kernel.org --- include/linux/random.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/incl