lkml.org 
[lkml]   [2018]   [Jun]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 1/3] vmalloc: Add __vmalloc_node_try_addr function
From
Date
On 06/20/2018 04:05 PM, Kees Cook wrote:
> On Wed, Jun 20, 2018 at 3:44 PM, Randy Dunlap <rdunlap@infradead.org> wrote:
>> On 06/20/2018 03:35 PM, Kees Cook wrote:
>>> On Wed, Jun 20, 2018 at 3:16 PM, Randy Dunlap <rdunlap@infradead.org> wrote:
>>>> On 06/20/2018 03:09 PM, Rick Edgecombe wrote:
>>>>> +void *__vmalloc_node_try_addr(unsigned long addr, unsigned long size,
>>>>> + gfp_t gfp_mask, pgprot_t prot, unsigned long vm_flags,
>>>>> + int node, const void *caller)
>>>>> +{
>>>>
>>>> so this isn't optional, eh? You are going to force it on people because?
>>>
>>> RANDOMIZE_BASE isn't optional either. :) This improves the module
>>> address entropy with (what seems to be) no down-side, so yeah, I think
>>> it should be non-optional. :)
>>
>> In what kernel tree is RANDOMIZE_BASE not optional?
>
> Oh, sorry, I misspoke: on by default. It _is_ possible to turn it off.
>
> But patch #2 does check for RANDOMIZE_BASE, so it should work as expected, yes?
>
> Or did you want even this helper function to be compiled out without it?

Thanks, I missed it. :(

Looks fine.

--
~Randy

\
 
 \ /
  Last update: 2018-06-21 01:17    [W:0.719 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site