[PATCH] D23505: [ELF] - Linkrscript: change the way of creating PT_LOADs segments when LS is used.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 16 05:02:42 PDT 2016


grimar added a comment.

In https://reviews.llvm.org/D23505#516418, @evgeny777 wrote:

> I see, but you're suggesting merging segment attributes which is a potential security hole. May be for FreeBSD kernel this is just fine, but doing this always?


I think security hole is mostly about when segment is Writable + Executable. This patch does not do that.
I do not think that combine of Readable + Executable is critical. At least looks like ld do that many years.


https://reviews.llvm.org/D23505





More information about the llvm-commits mailing list