lkml.org 
[lkml]   [2023]   [Feb]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PING][PATCH v3] x86: Use `get_random_u8' for kernel stack offset randomization
On Tue, Feb 14, 2023 at 9:43 PM H. Peter Anvin <hpa@zytor.com> wrote:
> No, I do indeed agree. We're talking something that is a part of an operation that is already fairly expensive. Now, if RDRAND is available on the hardware then that could be used if someone really wants it to go faster... but get_random_*() seems saner than doing ad hoc hacks.

Do you want to go ahead and apply Maciej's patch in [1] then?

[1] https://lore.kernel.org/lkml/alpine.DEB.2.21.2301302011150.55843@angie.orcam.me.uk/

\
 
 \ /
  Last update: 2023-03-27 00:32    [W:0.087 / U:1.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site