Re: binfmt_elf: use ELF_ET_DYN_BASE only for PIE breaks asan

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2017-08-07 at 11:59 -0700, Kees Cook wrote:
> On Mon, Aug 7, 2017 at 11:56 AM, Kostya Serebryany <kcc@xxxxxxxxxx>
> wrote:
> > Is it possible to implement some userspace<=>kernel interface that
> > will
> > allow applications (sanitizers)
> > to request *fixed* address ranges from the kernel at startup (so
> > that the
> > kernel couldn't refuse)?
> 
> Wouldn't building non-PIE accomplish this?
> 
> -Kees
> 

Well that lets you map the executable in the desired location, and
sanitizers would be free to add a huge reserved mapping as part of the
executable, but if they want the mapping placed away from the exe there
is not really any way to do that reliably without it being dynamic.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux