[PATCH] D14218: [ELF2] Implements -z relro: create an ELF "PT_GNU_RELRO" segment header in the object.
    Rafael EspĂndola via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Tue Nov 10 13:59:46 PST 2015
    
    
  
On 9 November 2015 at 14:53, Rui Ueyama <ruiu at google.com> wrote:
> ruiu added a comment.
>
> This is probably naive but obligatory question. Is relro segments considered actually useful? How many projects are using this for what?
They are. Some distros (fedora 23 at least) build every program with
it. The main advantage is that .got becomes read only once the dynamic
linker has run, removing an attack surface.
Cheers,
Rafael
    
    
More information about the llvm-commits
mailing list