This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 5/7] elf: Enable relro for static build



On 02/12/2019 16:02, Florian Weimer wrote:
> * Adhemerval Zanella:
> 
>> About testing, I am not sure what kind of coverage we are aiming
>> here. My initial approach would to check if a write on a variable
>> set to .data.rel.so does trigger a SEGSEGV signal and check with
>> some different combinations (-z now, -z lazy, static, dynamic,
>> pie, nopie). Do you have something more elaborated in mind?
> 
> Yes, that's what my tests do.  I will post them once we've stabilized
> the dynamic linker again.
> 

I will update the patch with the tests I have done so far.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]