Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Tue, 02 Aug 2016 13:35:13 +1000
From: Michael Ellerman <>
To: Jason Cooper <>, Kees Cook <>
Cc: "Roberts\, William C" <>, Yann Droneaud <>, Linux-MM <>, LKML <>, "kernel-hardening\" <>, Russell King - ARM Linux <>, Andrew Morton <>, Theodore Ts'o <>, Arnd Bergmann <>, Greg KH <>, Catalin Marinas <>, Will Deacon <>, Ralf Baechle <>, "benh\" <>, Paul Mackerras <>, "David S. Miller" <>, Thomas Gleixner <>, Ingo Molnar <>, "H. Peter Anvin" <>, "x86\" <>, Al Viro <>, Nick Kralevich <>, Jeffrey Vander Stoep <>, Daniel Cashman <>
Subject: Re: Re: [PATCH v2 1/7] random: Simplify API for random address requests

Jason Cooper <> writes:
> On Mon, Aug 01, 2016 at 12:47:59PM -0700, Kees Cook wrote:
>> On Sun, Jul 31, 2016 at 1:56 PM, Jason Cooper <> 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?


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.