lkml.org 
[lkml]   [2014]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[RFC/PATCH -next 16/21] arm: boot: compressed: disable kasan's instrumentation
    Date
    To avoid build errors, compiler's instrumentation used for kernel
    address sanitizer, must be disabled for code not linked with kernel.

    Signed-off-by: Andrey Ryabinin <a.ryabinin@samsung.com>
    ---
    arch/arm/boot/compressed/Makefile | 2 ++
    1 file changed, 2 insertions(+)

    diff --git a/arch/arm/boot/compressed/Makefile b/arch/arm/boot/compressed/Makefile
    index 76a50ec..03f2976 100644
    --- a/arch/arm/boot/compressed/Makefile
    +++ b/arch/arm/boot/compressed/Makefile
    @@ -4,6 +4,8 @@
    # create a compressed vmlinuz image from the original vmlinux
    #

    +KASAN_SANITIZE := n
    +
    OBJS =

    # Ensure that MMCIF loader code appears early in the image
    --
    1.8.5.5


    \
     
     \ /
      Last update: 2014-07-09 13:41    [W:4.325 / U:0.368 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site