Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1400971

Re: [PATCH] x86/boot: Refuse to build with data relocations

From "H. Peter Anvin" <hpa@zytor.com>
Newsgroups linux.kernel
Subject Re: [PATCH] x86/boot: Refuse to build with data relocations
Date 2016-05-13 22:50 +0200
Message-ID <rysc3-2oB-17@gated-at.bofh.it> (permalink)
References <ry5yO-4H0-19@gated-at.bofh.it> <ry7qX-737-31@gated-at.bofh.it> <ry7Kh-7bF-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 05/12/16 15:54, Kees Cook wrote:
>>
>> It would be far better to warn on the *type* of relocations rather than in which section they feel.
> 
> I'm open to specific changes. What's the best way to detect what you want here?
> 

Use readelf -r and look for inappropriate relocation types (which are
basically the same ones that we should have to muck with for the main
kernel in relocs.c.)

	-hpa

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] x86/boot: Refuse to build with data relocations Kees Cook <keescook@chromium.org> - 2016-05-12 22:40 +0200
  Re: [PATCH] x86/boot: Refuse to build with data relocations "H. Peter Anvin" <hpa@zytor.com> - 2016-05-13 00:40 +0200
    Re: [PATCH] x86/boot: Refuse to build with data relocations Kees Cook <keescook@chromium.org> - 2016-05-13 01:00 +0200
      Re: [PATCH] x86/boot: Refuse to build with data relocations "H. Peter Anvin" <hpa@zytor.com> - 2016-05-13 22:50 +0200
        Re: [PATCH] x86/boot: Refuse to build with data relocations Ingo Molnar <mingo@kernel.org> - 2016-05-16 12:40 +0200
          Re: [PATCH] x86/boot: Refuse to build with data relocations Kees Cook <keescook@chromium.org> - 2016-05-17 10:20 +0200
            Re: [PATCH] x86/boot: Refuse to build with data relocations "H. Peter Anvin" <hpa@zytor.com> - 2016-05-17 11:40 +0200
              Re: [PATCH] x86/boot: Refuse to build with data relocations Kees Cook <keescook@chromium.org> - 2016-05-17 16:00 +0200
                Re: [PATCH] x86/boot: Refuse to build with data relocations "H. Peter Anvin" <hpa@zytor.com> - 2016-05-17 19:00 +0200
                Re: [PATCH] x86/boot: Refuse to build with data relocations Kees Cook <keescook@chromium.org> - 2016-05-17 21:30 +0200
                Re: [PATCH] x86/boot: Refuse to build with data relocations "H. Peter Anvin" <hpa@zytor.com> - 2016-05-17 21:40 +0200
                Re: [PATCH] x86/boot: Refuse to build with data relocations Ingo Molnar <mingo@kernel.org> - 2016-05-18 10:30 +0200
                Re: [PATCH] x86/boot: Refuse to build with data relocations Kees Cook <keescook@chromium.org> - 2016-05-18 16:20 +0200
                Re: [PATCH] x86/boot: Refuse to build with data relocations Ingo Molnar <mingo@kernel.org> - 2016-05-20 08:50 +0200
                Re: [PATCH] x86/boot: Refuse to build with data relocations Kees Cook <keescook@chromium.org> - 2016-05-20 18:40 +0200
  Re: [PATCH] x86/boot: Refuse to build with data relocations Josh Poimboeuf <jpoimboe@redhat.com> - 2016-05-16 18:00 +0200

csiph-web