Thread (37 messages) 37 messages, 6 authors, 2016-08-04

Re: [kernel-hardening] Re: [PATCH v2 1/7] random: Simplify API for random address requests

From: Jason Cooper <hidden>
Date: 2016-08-03 18:44:52
Also in: lkml

On Tue, Aug 02, 2016 at 01:35:13PM +1000, Michael Ellerman wrote:
Jason Cooper [off-list ref] writes:
quoted
On Mon, Aug 01, 2016 at 12:47:59PM -0700, Kees Cook wrote:
quoted
On Sun, Jul 31, 2016 at 1:56 PM, Jason Cooper [off-list ref] wrote:

I have no new call sites in mind, but it seems safe to add a BUG_ON to
verify we don't gain callers that don't follow the correct
expectations. (Or maybe WARN and return start.)
No, I think BUG_ON is appropriate.  afaict, the only time this will be
encountered is during the development process.
Unless it's not.

Why crash someone's system when you could just page align the value
you're given?
Ack, v3 on it's way.

thx,

Jason.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help