lkml.org 
[lkml]   [2015]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2 2/4] introduce post-init read-only memory
From
Date
On 11/25/15 16:15, PaX Team wrote:
> On 25 Nov 2015 at 15:31, Kees Cook wrote:
>
>> diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
>> index c4bd0e2c173c..772c784ba763 100644
>> --- a/include/asm-generic/vmlinux.lds.h
>> +++ b/include/asm-generic/vmlinux.lds.h
>> @@ -256,6 +256,7 @@
>> .rodata : AT(ADDR(.rodata) - LOAD_OFFSET) { \
>> VMLINUX_SYMBOL(__start_rodata) = .; \
>> *(.rodata) *(.rodata.*) \
>> + *(.data..ro_after_init) /* Read only after init */ \
> ^^^^^^^^^^^
> looks like it's tabs vs. spaces...
>

One more thing... double dots I think has special meanings to gcc, so it
might be better to avoid.

-hpa




\
 
 \ /
  Last update: 2015-12-01 00:01    [W:3.326 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site