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


Groups > linux.kernel > #1659587

Re: [kernel-hardening] [PATCH] powerpc: Increase ELF_ET_DYN_BASE to 1TB for 64-bit applications

From Michael Ellerman <mpe@ellerman.id.au>
Newsgroups linux.kernel
Subject Re: [kernel-hardening] [PATCH] powerpc: Increase ELF_ET_DYN_BASE to 1TB for 64-bit applications
Date 2017-06-07 11:30 +0200
Message-ID <tPFrQ-4M0-19@gated-at.bofh.it> (permalink)
References <tOTnc-7Ed-9@gated-at.bofh.it> <tOZiV-2Qj-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Daniel Micay <danielmicay@gmail.com> writes:

> Rather than doing this, the base should just be split for an ELF
> interpreter like PaX.

I don't quite parse that, I think you mean PaX uses a different base for
an ELF interpreter vs a regular ET_DYN?

That would be cool. How do you know that it's an ELF interpreter you're
loading? Is it just something that's PIE but doesn't request an
interpreter?

Is the PaX code somewhere I can look at?

> It makes sense for a standalone executable to be as low in the address
> space as possible.

More or less. There are performance reasons why 1T could be good for us,
but I want to see some performance numbers to justify that change. And
it does mean you have a bit less address space to play with.

cheers

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


Thread

[PATCH] powerpc: Increase ELF_ET_DYN_BASE to 1TB for 64-bit applications Bhupesh Sharma <bhsharma@redhat.com> - 2017-06-05 08:10 +0200
  Re: [kernel-hardening] [PATCH] powerpc: Increase ELF_ET_DYN_BASE to  1TB for 64-bit applications Daniel Micay <danielmicay@gmail.com> - 2017-06-05 14:30 +0200
    Re: [kernel-hardening] [PATCH] powerpc: Increase ELF_ET_DYN_BASE to 1TB for 64-bit applications Michael Ellerman <mpe@ellerman.id.au> - 2017-06-07 11:30 +0200
      Re: [kernel-hardening] [PATCH] powerpc: Increase ELF_ET_DYN_BASE to  1TB for 64-bit applications Bhupesh SHARMA <bhupesh.linux@gmail.com> - 2017-06-07 12:40 +0200
      Re: [kernel-hardening] [PATCH] powerpc: Increase ELF_ET_DYN_BASE to  1TB for 64-bit applications Kees Cook <keescook@chromium.org> - 2017-06-07 20:30 +0200

csiph-web