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


Groups > linux.kernel > #1707862

Re: new ELF marking

From Kostya Serebryany <kcc@google.com>
Newsgroups linux.kernel
Subject Re: new ELF marking
Date 2017-08-09 22:40 +0200
Message-ID <ucFVN-3Rs-33@gated-at.bofh.it> (permalink)
References (1 earlier) <ucCOh-1QT-85@gated-at.bofh.it> <ucDTX-2tC-5@gated-at.bofh.it> <ucEdj-2Fa-3@gated-at.bofh.it> <ucEmZ-2It-3@gated-at.bofh.it> <ucEwG-30X-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> >
> > I believe this would only be an output bit, but I'm not sure how it
> > would be wired into binutils. Kostya, do you know any details about
> > how AddressSanitizer might be able to create this ELF note?

I don't, hopefully H.J's suggestion works.
Will it be backward compatible?
(i.e. will the binaries built in the new way work on the old kernels?)

Thanks!

--kcc
>
>
> if it is an output only bit, "-z fobar" should work, like
>
>   -z ibt                      Generate GNU_PROPERTY_X86_FEATURE_1_IBT
>   -z shstk                    Generate GNU_PROPERTY_X86_FEATURE_1_SHSTK
>
> Or you can put it in the input file and linker will copy it to output, like
> GNU_PROPERTY_STACK_SIZE.

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


Thread

new ELF marking Kees Cook <keescook@google.com> - 2017-08-09 19:10 +0200
  Re: new ELF marking "H.J. Lu" <hjl.tools@gmail.com> - 2017-08-09 19:20 +0200
    Re: new ELF marking Kees Cook <keescook@google.com> - 2017-08-09 20:30 +0200
      Re: new ELF marking "H.J. Lu" <hjl.tools@gmail.com> - 2017-08-09 20:50 +0200
        Re: new ELF marking Kees Cook <keescook@google.com> - 2017-08-09 21:00 +0200
          Re: new ELF marking "H.J. Lu" <hjl.tools@gmail.com> - 2017-08-09 21:10 +0200
            Re: new ELF marking Kostya Serebryany <kcc@google.com> - 2017-08-09 22:40 +0200
              Re: new ELF marking "H.J. Lu" <hjl.tools@gmail.com> - 2017-08-09 23:30 +0200
                Re: new ELF marking Carlos O'Donell <carlos@redhat.com> - 2017-08-10 00:40 +0200

csiph-web